Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int x;
- cout << "Podaj numer miesiaca " << endl;
- cin >> x ;
- if ( x > 0 && x < 13)
- {
- cout << "Liczba jest parwidlowym numerem miesiaca." << endl;
- }
- else
- {
- cout << "Liczba nie jest parwidlowym numerem miesiaca." << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement