0

Palindrome numbers upto 1000

My program is not showing output.. can anyone suggest my mistakes please.. https://code.sololearn.com/w0D2e27EY6b9/?ref=app

5th Sep 2017, 3:40 PM
Anil Nepal
Anil Nepal - avatar
2 odpowiedzi
+ 2
i made a mistake with integer division so the loop was infinite.. thanks though!!
5th Sep 2017, 4:06 PM
Anil Nepal
Anil Nepal - avatar
+ 1
You created forever loop in while($n>0)
5th Sep 2017, 3:59 PM
Calviղ
Calviղ - avatar