Number Based Programs in C Language or C Programming

WAP to print the sum of all numbers up to a given number.

WAP to find the factorial of a given number.


WAP to print sum of even and odd numbers from 1 to N numbers.

WAP to print the Fibonacci series.

WAP to check whether the entered number is prime or not.

WAP to find the sum of digits of the entered number.

WAP to find the reverse of a number.

A positive number is called armstrong number if it is equal to the sum of cubes of its digits.

WAP to convert binary number into decimal number and vice versa.