Check whether a number is a Neon Number

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

					Enter a number:
9 is a Neon Number.

Example 2:
Enter a number:
303 is not a Neon Number.


Share code with your friends

Share on whatsapp
Share on facebook
Share on twitter
Share on telegram


Coding Store

Leave a Reply

Your email address will not be published. Required fields are marked *