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
- C program to perform basic arithmetic operations which are addition, subtraction, multipl
- C program to swap two numbers with and without using third variable, swapping in c u
- C hello world program: c programming language code to print hello world. This program pri
- This program reverse the number entered by the user and then prints the reversed number o
- Prime number program in c: c program for prime number, this code prints prime numbers usi
- Fibonacci series in c programming: c program for Fibonacci series without and with r
Subscribe to:
Post Comments (Atom)
EmoticonEmoticon