daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Dec 14th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <cstdlib>
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. int main(int argc, char *argv[])
  7. {
  8.     int a;
  9.     cout << "Kakaya y tebya zarplata:";
  10.     cout << endl;
  11.     cin >> a;
  12.     if(a>=1000000){
  13.         cout << "You a rich man!" ;
  14.     }
  15.     if(a<999){
  16.         cout << "Work harder!!!";
  17.     }
  18.     else
  19.     {
  20.         cout << "Good work!";
  21.     }
  22.     system("pause");
  23. }
RAW Paste Data
Top