+ 4

Can anyone tell me the program of neon number

a neon number is a number whoes sum of digit of its square is a number itself For eg:-9square =81(8+1=9)

4th Feb 2018, 4:59 AM
Ayush Gupta
Ayush Gupta - avatar
3 Réponses
+ 12
There, you already have the definition of Neon numbers. You just have to write it in Java syntax. Check if the sum of each digit in the square of the number is equal to the number itself.
4th Feb 2018, 5:07 AM
Hatsy Rei
Hatsy Rei - avatar
4th Feb 2018, 7:03 AM
Fabio
0
neon number is a number whoes sum of digit of its square is a number itself For eg:-9square =81(8+1=9)
5th Feb 2018, 5:46 AM
Rachit Agarwal