Advertisement
DimaBishanov

Задача по с++ №1(б)

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