ASCII stands for American Standard Code for Information Interchange. There are 128 standard ASCII characters from 0 to 127. Extended ASCII characters adds more 128 values and goes to 255.Following is a program of printing ASCII value using C language.
Reverse Number: If you enter 789 as input then gives output as 987. Reverses the digits of a given number.Following is a source code of reverse the number in c language.
Sum of digits : If you enter number like 234 then output is 9 (2+3+4). That is sum of all digits of entered number.Following C program find out sum of digits of given number.
Armstrong Number: If the sum of cubes of individual digits of a number is equal to the number itself is called Armstrong Number. For Example 371 is an Armstrong number that means 33 + 73 + 13 = 371 that is number itself. Some Armstrong numbers are: 0, 1, 153, 370, 371, 407.
Prime Number : A positive number which is divisible by 1 and number itself is knows as prime number.
For example 7 is prime number because it is divisible by only 1 and number itself(7). While 14 is not prime because it is divisible by 1,2,7, and 14 itself.
Following is a program of prime numbers in c language: