Advertisement
Lucky134Lucky

Basic.Task2.3

Feb 8th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int z;
  8.  
  9.     cout<<"kakaya u tebya zarplata? ";
  10.     cin>>z;
  11.      {
  12.     if ( z < 1000 )
  13.         cout<<"ti beden";
  14.      if ( z > 10000000) {
  15.         cout<<"ti millioner";  }
  16.  
  17.      if(z>1000)
  18.        {
  19.            if (z<1000000) cout<<"ti bogat"; }
  20.        }
  21.  
  22.     return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement