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 add two numbers: This c language program perform the basic arithmetic operat
- C program to check leap year: c code to check leap year, year will be entered by the user
- In mathematics, in decimal number system even numbers are divisible by 2 while odd are no
- C program to find hcf and lcm: The code below finds highest common factor and least commo
- C code to find and print factorial of a number, three methods are given, first one uses f
- These program prints various different patterns of numbers and stars. These codes illustr
Subscribe to:
Post Comments (Atom)
EmoticonEmoticon