Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main ()
- {
- int w;
- cout <<"Vvedit svou zarplaty:";
- cin >> w;
- if (w<1000)
- {
- cout << "Krashche pracuyte";
- }
- if (w>999)
- {
- if (w>999999)
- {
- cout << "Ti millioner!";
- }
- if (w<1000000)
- {
- cout << "Horosho";
- }
- }
- cout << "...no ti molodec";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement