- Write a program to print ASCII value of a given character like A =65.
- Write a program to print table of a given number.
- Write a program to print the sum of even position & product of odd position digit of any inputted Number.
- Accept a Number from user and find reverse of it .
- Accept a Number from user and check whether it is Prime or Not.
- Accept a Number form user and check whether it is Palindrome or Not
- Accept a Number from user and check whether it is Armstrong or Not .
- Write a program to print all odd numbers from 1 to N terms.
- Write a program to print all even number from 1 to N terms .
- Write a program to find the factorial of given Number.
- Write a program to print the sum of digit of any inputted Number .
- Write a program to print the product of digit of any inputted Number.
- Write a program to calculate total number of digit in given number .
- Accept a Number from user and check whether it is perfect no. or Not.
- Accept a Number from user and print its equivalent Binary Number.
- Accept a Number from user and Base from user and print its equivalent Base Number.
- Print the table from n1 to n2(n1 is starting point and n2 ending point) .
- Write a program to print all factors of given number.
- Write a program to print all prime Number from 1 to 100 .
- Write a program to print all Armstrong Number form 1 to 100.
- Write a program to print all perfect number from 1 to 100 .
- Write a program to accept a digit number and print it in words. Like 124 to one two four.
- Write a program to print the following Triangle up to n terms .
- Print V -Shape in C pyramid like this using star.* *** ***** ******* **************
- Print V Shape in C like this . * ** ** ** **
- Print Triangle Shape in C like this.. *********
- Print Reverse Triangle shape in C like this.. *
- Print Square Shape in C like this..
- Print Diamond Shape in C like this..*********************************
- Print Pascal's triangle
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
-
Inverted full pyramid using *
* * * * * * * * *
* * * * * * *
* * * * *
* * *
*
-
Program to print pyramid using numbers
1
2 3 2
3 4 5 4 3
4 5 6 7 6 5 4
5 6 7 8 9 8 7 6 5
-
Program to print full pyramid using *
*
* * *
* * * * *
* * * * * * *
* * * * * * * * *
-
Inverted half pyramid using numbers
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
-
Program to print half pyramid using alphabets
A
B B
C C C
D D D D
E E E E E
-
-
*********************************
Related Posts:
Accept a Number from user and print its equivalent Binary Number #include#includevoid main(){ int n,a,i,temp=1; printf("Enter th… Read More
Accept a Number from user and print its equivalent Binary Number #include#includevoid main(){ int n,i,temp=1; printf("Enter the … Read More
C Program to Check Whether a Number is Prime or Not Normal 0 false false false EN-US X-NONE HI … Read More
Write a program to print all even number from 1 to N terms #include#includevoid main(){ int n,i; printf("Enter the Number … Read More
C Program to check number is polindrome or not Normal 0 false false false EN-US X-NONE HI … Read More
Write a program to find the factorial of given Number #include#includevoid main(){ int n,i,temp=1; printf("Enter the … Read More