Advertisement
Grigorian

Lekcja 4

Sep 16th, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <cstdlib>
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. int main(int argc, char *argv[])
  7. {   int a;
  8.    cin>>a;
  9.     if (a%2==0)
  10.     cout<<"Liczba parzysta"<<endl;
  11.     else
  12.     cout<<"Liczba nieparzysta"<<endl;
  13.     system("PAUSE");
  14.     return EXIT_SUCCESS;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement