Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7.     int a;
  8.     cout << "Podaj liczbe!" << endl;
  9.     cin >> a;
  10.  
  11.     if(a<0){
  12.         cout << "Ujemna"<< endl;
  13.     }else if(a<10){
  14.         cout << "Jednocyfrowa"<< endl;
  15.     }else if(a<100){
  16.         cout << "Dwucyfrowa"<< endl;
  17.     }else{
  18.         cout << "Inna"<< endl;
  19.     }
  20.     system("pause");
  21.     return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement