fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int a;
  7.  
  8. cin >> a;
  9. if (a <= 100) {
  10. cout << a << " dollar ? " << "under 100? you poor 😂👎" << endl;
  11. } else if (a <= 1000) {
  12. cout << a << " DOLLAR ?? " << "you mid of poor and rich, still poor 😂" << endl;
  13. } else {
  14. cout << "no need to say, " << "you rich! 😮" << endl;
  15. }
  16. return 0;
  17. }
Success #stdin #stdout 0.01s 5312KB
stdin
1200
stdout
no need to say, you rich! 😮