0
What is wrong in this program?
5 Answers
+ 4
The problem is sololearn takes input ahead of time and your progam requires infinite input so it won't work...Another thing you have to convert your number and user input to an int for the intended comparison
And also check your program once it is an infinite loop ,i dunno if it's intentional
+ 2
Aditya If my answer helped you mark it as best answer by ticking the check mark button
+ 1
What you are saying is I can't compare a string to string and if the input is given false then what will be the answer? ?
0
Thankyou for answering my question bro