Whats wrong with the following two codes ideone.com/ra7DV8 for the problem WILL IT EVER STOP?
Both are giving wa on judge 21 or so.
What problem are you working on? "WILL IT EVER LAST" or "WILL IT EVER STOP". You mention both.
Floats are horribly inaccurate. If you must use a floating point number then use a double. I would avoid using floating point though.
I would like to apologize for the problem name. I edited though..!!And there are no floats in the other solution, so why that giving wa??
en.cppreference.com/w/cpp/langua ... precedence