Where I am lag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Where I am lag?

I can able to find out sum of digits, check prime, check palindrome etc..... But I can't able to do problems that Asks for range of output. For eg.. Printing palindrome numbers within 1000 like this..

17th Sep 2021, 5:44 AM
sparkle
3 Answers
+ 1
You can use the for loop and update the number for your program.
17th Sep 2021, 6:03 AM
你知道規則,我也是
你知道規則,我也是 - avatar
0
That too got no output i tried
17th Sep 2021, 1:35 PM
sparkle
0
Input from user num While(n>0) { Mod =num%10; If(mod==0) { Zeros++; } Num=Num/10; } How can I add loop for this
17th Sep 2021, 1:39 PM
sparkle