Assignment 9 : Loops Example Programs
Hi,
Using While Loop
- Write a C Program to find the factorial of given number ( using non-recursion).
- Write a C Program to find whether the given number is a prime number or not.
- Write a C Program to print fibonacci series.
- Write a C Program to print the sum of the digits in a given number.
- Write a C Program to print the maximum and minimum digit in a given number
- Write a C Program to count the number of digits in a given number
- Write a C Program to print the reverse of digits of a given number.
Using For Loop
- Write a C Program to find the factorial of given number ( using non-recursion).
- Write a C Program to find whether the given number is a prime number or not.
- Write a C Program to print fibonacci series.
- Write a C Program to print the sum of the digits in a given number.
- Write a C Program to print the maximum and minimum digit in a given number
- Write a C Program to count the number of digits in a given number
- Write a C Program to print the reverse of digits of a given number.