Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- main()
- {
- int A,B;
- printf("dwse ton arithmo A:");
- scanf("%d",&A);
- printf("dwse ton arithmo B:");
- scanf("%d",&B);
- if(A>B)
- printf("O arithmos A einai megaliteros apo ton arithmo B\n");
- if(A>0)
- printf("O arithmos A einai thetikos\n");
- if(B%3==0)
- printf("O arithmos B einai pollaplasio tou 3\n");
- if(A%5==0 && B<8)
- printf("o arithmos A diaireitai akrivws me to 5 kai to B einai mikrotero tou 8");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement