C For Loop:
1. Write a program in C to display the first 10 natural numbers.
2. Write a C program to compute the sum of the first 10 natural
numbers.
3. Write a program in C to display n terms of natural numbers and
their sum.
4. Write a program in C to read 10 numbers from the keyboard and
find their sum and average.
5. Write a program in C to display the cube of the number up to an
integer.
6. Write a program in C to display the multiplication table for a
given integer.
7. Write a program in C to display the multiplier table vertically
from 1 to n.
8. Write a C program to display the n terms of odd natural numbers
and their sum.
9. Write a program in C to display a pattern like a right angle
triangle using an asterisk.
10. Write a C program to display a pattern like a right angle triangle
with a number.
11. Write a program in C to make such a pattern like a right angle
triangle with a number which will repeat a number in a row.
12. Write a program in C to make such a pattern like a right angle
triangle with the number increased by 1.
13. Write a program in C to make a pyramid pattern with numbers
increased by 1.
14. Write a C program to make such a pattern as a pyramid with an
asterisk.
15. Write a C program to calculate the factorial of a given number.
16. Write a C program to display the sum of n terms of even natural
numbers.
17. Write a C program to make such a pattern like a pyramid with a
number which will repeat the number in the same row.
18. Write a program in C to find the sum of the series [ 1-
X^2/2!+X^4/4!- .........].
19. Write a program in C to display the n terms of a harmonic series
and their sum.
1 + 1/2 + 1/3 + 1/4 + 1/5 ... 1/n terms
20. Write a C program to display the pattern as a pyramid using
asterisks, with each row containing an odd number of asterisks.
21. Write a program in C to display the sum of the series [ 9 + 99 +
999 + 9999 ...].
22. Write a program in C to print Floyd's Triangle.
23. Write a program in C to find the sum of the series [x - x^3 + x^5
+ ......].
24. Write a program in C to find the sum of the series [ x - x^3 + x^5
+ ......].
25. Write a C program that displays the n terms of square natural
numbers and their sum.
1 4 9 16 ... n Terms
26. Write a program in C to find the sum of the series 1 +11 + 111 +
1111 + .. n terms.
27. Write a C program to check whether a given number is a
'Perfect' number or not.
28. Write a C program to find the 'Perfect' numbers within a given
number of ranges.
29. Write a C program to check whether a given number is an
Armstrong number or not.
30. Write a C program to find the Armstrong number for a given
range of number.