C program to check a number is a neon number or not.

A neon number is a number where the sum of digits of square of the number is equal to the number. For example if the input number is 9, its square is 9*9 = 81 and sum of the digits is 9. i.e. 9 is a neon number.


Sample Input
Enter the number:9
Sample Output
9 is a neon number.

You may also like...