Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. #include <stdio.h>
  2. main()
  3. {
  4. int A,B;
  5. printf("dwse ton arithmo A:");
  6. scanf("%d",&A);
  7. printf("dwse ton arithmo B:");
  8. scanf("%d",&B);
  9. if(A>B)
  10. printf("O arithmos A einai megaliteros apo ton arithmo B\n");
  11. if(A>0)
  12. printf("O arithmos A einai thetikos\n");
  13. if(B%3==0)
  14. printf("O arithmos B einai pollaplasio tou 3\n");
  15. if(A%5==0 && B<8)
  16. printf("o arithmos A diaireitai akrivws me to 5 kai to B einai mikrotero tou 8");
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement