1.
Write a program to read three number from user and determine the largest number
among them.
2. Write a program that reads total marks of a student in seven subjects. Then calculate
the percentage and determine the division. Use following conditions:
i. Percentage greater than or equal to 80- distinction,
ii. Percentage between 60 and 79- First Division
iii. Percentage between 45 and 59-second division
iv. Percentage between 32 and 44 – third division
v. Percentage less than or equal to 31 -fail.
3. Write a program to calculate factorial of a number.
4. Write a program to read a number from keyword until a zero or a negative number is
keyed in. Finally, calculate sum and average of entered numbers.
5. Write a C program to accept a coordinate point in an XY coordinate system and
determine in which quadrant the coordinate point lies.
6. Write a C program to check whether a triangle is Equilateral, Isosceles or Scalene.
7. Write a C program to check whether a character is an alphabet, digit or special
character.
8. Write a C program to find and print the first 10 Fibonacci numbers using a while loop.
9. Write a C program that implements a program to check if a given number is a
palindrome using a while loop.
10. Write a C program that implements a program to count the number of digits in a given
integer using a do-while loop.
11. Write a program in C to display n terms of natural numbers and their sum
12. Write a program in C to display the multiplier table vertically from 1 to n.
13. Write a program in C to display a pattern like a right angle triangle using an asterisk.
The pattern like :
*
**
***
****
14. Write a program in C to print Floyd's Triangle.
15. Write a program in C to find the sum of all elements of the array.
16. Write a program in C to find the maximum and minimum elements in an array.
17. Write a program in C to print or display an upper triangular matrix.
18. Write a program in C to add two numbers using pointers.
19. Write a program in C to add numbers using call by reference.
20. Write a program in C to find the largest element using Dynamic Memory Allocation.
21. Write a program in C to calculate the length of a string using a pointer
22. Write a program in C to convert a decimal number to a binary number using the
function.
23. Write a program in C to get the largest element of an array using the function.
24. Write a program in C to check Armstrong and Perfect numbers using the function.
25. Write a program in C to print the Fibonacci Series using recursion.