Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ?? ?????????? ???? ?? ???? ???? ?????? n, ?? ????????? n ????? ?? ?????? ??? ??????.?? ????? ?? ?? ???????? ?? ????? ?? ???????? ???? ???? ??????? ? ??????? ?? ??????.
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int n,i,br,x,y;
- printf("Se chita edno brojche n\n");
- scanf("%d", &n);
- br = 0;
- for(i=0;i<n;i++)
- {
- printf("Vo narednite n linii se chitaat dva broevi\n");
- scanf("%d %d", &x, &y);
- if(x<y)
- {
- br++;
- }
- }
- printf("%d", br);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement