Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- double p;
- while (true) {
- cin >> p;
- if(p == 0) {
- cout << "lol zero" << endl;
- p = 0; // fix
- continue;
- }
- if(p != 1337)
- cout << "fail :c" << endl;
- else
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement