Computer Science, asked by sonu7261, 1 year ago

give me some number checking questions please ...if u are an icse computer student....


Rashi937: You can visit www.rskoura.wordpress.com. U will find around 50 number programmes there.
Rashi937: & I am an ICSE student
sonu7261: thanks
Rashi937: Welcome
sonu7261: will u do one program please....
sonu7261: hello
Rashi937: Pls send I'll try
sonu7261: palindromel no.from 1 to n
Rashi937: Pls explain

Answers

Answered by Dårviñ714
1
Write a program to find out the given number is :
a) an amstrong number
b) a palindrome
c) a lendar number

(a) An amstrong number is a number whose sum of the cube of its digits is equal to given number
Eg:153= 1³+5³+3³
=1+125+9
=153
(b) palindrome numbers are 585,4664,323,677776,86568 etc

(c) A lendar number is the which is divisible by 2,5 and 7.
Eg:70,140 etc

Answered by chaitanyakrishn1
0
Niven number-sum of digits is a factor of no.

Palindrome no.-reverse of no. Is same as that of no.

Special no.- sum of factors is same as that of no.

Etc

Automorphic no.
Similar questions