Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- using namespace std;
- int main(int argc, char *argv[])
- {
- int a;
- cout << "Kakaya y tebya zarplata:";
- cout << endl;
- cin >> a;
- if(a>=1000000){
- cout << "You a rich man!" ;
- }
- if(a<999){
- cout << "Work harder!!!";
- }
- else
- {
- cout << "Good work!";
- }
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement