Armstrong number c program: c programming code to check whether a number is armstrong or not. A number is armstrong if the sum of cubes of individual digits of a number is equal to the number itself. For example 371 is an armstrong number as 33 + 73 + 13 = 371. Some other armstrong numbers are: 0, 1, 153, 370, 407.
Tuesday, 14 October 2014
Armstrong number C program

Artikel Terkait
- These program prints various different patterns of numbers and stars. These codes illustr
- C code to find and print factorial of a number, three methods are given, first one uses f
- This c program add n numbers which will be entered by the user. Firstly user will enter a
- Prime number program in c: c program for prime number, this code prints prime numbers usi
- C program to check leap year: c code to check leap year, year will be entered by the user
- This program reverse the number entered by the user and then prints the reversed number o
Subscribe to:
Post Comments (Atom)
EmoticonEmoticon