Advertisement
Guest User

Untitled

a guest
Apr 8th, 2020
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6.     double p;
  7.     while (true) {
  8.         cin >> p;
  9.         if(p == 0) {
  10.             cout << "lol zero" << endl;
  11.             continue;
  12.         }
  13.  
  14.         if(p != 1337)
  15.             cout << "fail :c" << endl;
  16.         else
  17.             break;
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement