1. Write a simple C-program to print the first 100 natural numbers using for loop.
2. Write a C-program to print any statement multiple times using for loop.
3. Write a C-program to print the even numbers up to 50 using for loop.
4. Write a C-program to print the odd numbers up to 50 using while loop.
5. Write a C-program to print the whole numbers up to 80 using do while loop.
6. Write a C-program to print the first 10 multiples of 5,7 and 9 using all three types of loops.
7. Write a C-program to print the sum of 10 natural numbers from 50 to 60.
8. Write a C-program to print even numbers up to 50 in descending order and display their sum.
9. Write a C-program to check whether the given number is a prime number or a composite number.
10. Write a C-program to print the reverse of a number and then check if it is palindrome number or not.
0 Comments