Advertisement
Lucky134Lucky

Basic.task2

Feb 8th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 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.     for (int j= 0; j< 1; j++) {
  12.     if ( z < 1000 )
  13.         cout<<"ti beden";
  14.      if ( z > 10000000) {
  15.         cout<<"ti millioner"; break; }
  16.  
  17.      if(z>1000)
  18.  
  19.         cout<<"ti bogat"; }
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement