Guest User

Untitled

a guest
Oct 20th, 2011
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3.  
  4.  
  5. int main()
  6. {
  7. int a;
  8.  
  9. printf("Podaj a: ");
  10. scanf("%d",&a);
  11.  
  12. if(a > 0 && a < 100){
  13. if(a%2==0){
  14. printf("Jest to liczba parzysta \n");
  15. }
  16. else
  17. printf("Jest to liczba nieparzysta \n");
  18. }
  19.  
  20.  
  21.  
  22. system("PAUSE");
  23. return 0;
  24. }
  25.  
Advertisement
Add Comment
Please, Sign In to add comment