Demo session(Looping)

1. Neon

WAP to accept any number and check the number is neon or not Example: Input Number - 9 C-92-81 C= 8+1=9 Input value & calculated value both are same, the 9 is a neon number.

2. Spy

WAP to accept any number and check the number is spy or not Example: Input Number - 1124 Sum = 1+1+2+4=8 multiply = 1*1*2*4=8 Sum & multiplication value both are same, the 1124 is a spy number.

3. Krishnamurty

WAP to accept any number and check the number is Krishnamurthy or special or not Example: Input Number - 145 Factorial value-1=1 41*2*3*4= 24 51*2*3*4*5 = 120 Sum=1+24+120=145 Input value & calculated value both are same, the 153 is a Krishnamurthy or special number.

4. Automorphic

WAP to accept any number and check the number is automorphic or not Example: Input Number - 25 C= 252 = 625 Input value & last two digit of calculated value both are same, the 25 is a automorphic number

Sing up with OOPS HUB

Sing up to get facilities of more codes ,advance knowledge of coding.

If you will go pro with us , you have to sing up at first .
It will make connections between the normal codeing and the object oriented programming.
What are you thinking about !!! Sing up now to get the new taste of programming.

Register