Computer Science, asked by gluco, 10 months ago

Write a program to enter a number and check if it is a neon number or not.


OmkarT: what is meaning of neon ?
gluco: a neon mumber is one whose sum of digits of square is equal to the the number itself. eg-9.
alex344: :'(:'(
OmkarT: i didn't get can u give example in detail
gluco: The square of 9 is 81. Now if we add the the digits of square,i.e,8+1 the answer is 9 that is the number itself. Hence 9 is considered a neon number.

Answers

Answered by saurabh2001
4
please see the attachment
Attachments:

gluco: thanks!
saurabh2001: make me brainlest
Similar questions