+ 2
c++ code not showing output
I don't know why but this code is not showing any output. I checked this code more than 5 times but couldn't figure out what is wrong with this code. Here is the code: https://code.sololearn.com/ca10A16a1A9a
4 Antworten
+ 1
Simple typo on line 13: You increment 'n' instead of 'i', resulting in an infinite loop.
+ 1
Yes run time error your program have becoz u incrementing value of n instead of i
0
Shadow Thankyou very much. I was looking for 15 mins and did not saw that. You saved my time😃
0
♨️♨️ yes. Just found out. Thankyou