Looping or iterative statements assignments in C language with Solutions.
1. Write a program in c language to find the sum of all numbers between two given numbers using a while loop.
2.Write a program in to compute the factorial of any given number using a do while loop.
3.Write a program in c programming to print the reverse of any given number using a for loop.
4.Write a program in c language to check if a given number is a prime number or not using a while loop.
5.Write a program in c to display the Fibonacci series up to a given number using a while loop.
6.Write a program in c language to check if a given number is a palindrome or not using a do while loop.
7.Write a program in c programming to calculate the power of a number using a for loop and while loop.
8.Write a program in c to check if a given number is an Armstrong number or not using a while loop.
9.Write a program in c language to print the pattern of a pyramid using a for loop.
10. Write a program in c to check if a given number is a perfect square or not using a while loop or do while loop.
11.Write a program in c programming to print the sum of all odd numbers between two given numbers using a while loop.
12.Write a program in c to check if a given number is a strong number or not using a while loop.
13. Write a program in c language to print the pattern of a diamond using a for loop.
14. Write a program in c language to check if a given number is a palindrome or not using a while loop.
15.Write a program in c language to find the sum of all digits of a given number.
16.Write a program in c to print the pattern of a hollow square using a while loop.
17. Write a program in c to check if a given number is a perfect number or not using a do while loop.
18.Write a program in c to calculate the sum of all prime numbers between two given numbers using a for loop.
19.Write a program in c language to print the pattern of a right angled triangle using a for loop.
20. Write a program in c to calculate the factorial of a given number using a for loop.