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.
Answers
Answered by
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
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
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.
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