## C program to find Factorial of a number

Example#1: C program to find factorial of a number Output:

Skip to content
## C program to find Factorial of a number

## C Program to Check Whether a Number is Even or Odd

## C program to accept any alphabet from the user and display it in reverse case

## C program to check whether an alphabet is Vowel or Consonant

## C program to find ASCII value of a Character

## C program to find Simple Interest

## C program to print Sum of two integer numbers

Example#1: C program to find factorial of a number Output:

Logic: An even number is an integer that is exactly divisible by 2. Example: 0, 8, -24. An odd number is an

Logic: ASCII value of ‘A’=65 and ‘a’=97. Difference between the two values is (97-65)=32. So to get ‘a’ from ‘A’ we have

Logic: In English alphabet ‘A’,’E’,’I’,’O’ and ‘U’ are vowels and rest of the alphabets are consonants. This is same for lowercase characters(‘a’

Logic: Originally based on the English alphabet, ASCII encodes 128 specified characters into seven-bit integers with values between 0 and 127. Ninety-five encoded characters are printable:

Logic: The mathematical formula of simple interest is, I=(P*r*t)/100 , where I=Simple interest, P=Principal, r=Rate and t=Time. We use ‘*’ operator to

Logic: In mathematics we calculate sum of two numbers using ‘+’ operator. For example, sum of 7 and 9 is (7+9)=16. In

Back to Top