0

A filtering loop for large numbers?

we have x=1000000000999999999 and the last number in loop is x=1999999999000000000 after generating the first number x=x+9; if we divided the number and sum it with itself , it must equals to 64 for examlpe 1+9+9+9+9+6+6+5=64 if the condition is true display the num otherwise continue the loop.

12th Oct 2021, 10:54 AM
Shamsulhaq Alkozay
Shamsulhaq Alkozay - avatar
1 Odpowiedź
+ 2
Show your attempt, you can't just tell the question and get the answer
12th Oct 2021, 11:42 AM
Rishi
Rishi - avatar