Advertisement
Guest User

Untitled

a guest
May 27th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int even = 24;
  5. int odd = 31;
  6.  
  7. if (even % 2 == 0) {
  8. printf("%d la so chan\n", even);
  9. } else {
  10. printf("%d la so le\n", even);
  11. }
  12. if (odd % 2 != 0 ) {
  13. printf("%d la so le\n", odd);
  14. } else {
  15. printf("%d la so chan\n", odd);
  16. }
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement