0
Have problem in C++
#include <iostream> using namespace std; int main() { //Your code int x; cin>>x; while(0>x<50){ if(x<50) cout<<50-x; break; else if(x>50) x-50; } } return 0; } Check my code. I can't find problem. Copy it and past in your IDE.
2 Respuestas
+ 4
_ᙢǾሊỢȡΘŬ_
while (0 > x < 50) //wrong syntax
+ 2
What does your compiler say ?
wasn't the warnings and error messages clear enough to convey the problems in your program ?
if so, then which perticular message didn't made sense to you ?