View difference between Paste ID: H1wN3tAG and k9t5d2md
SHOW: | | - or go back to the newest paste.
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-
            p = 0; // fix
11+
12
        }
13
14
        if(p != 1337)
15
            cout << "fail :c" << endl;
16
        else
17
            break;
18
    }
19
}