ListOfExp 23
ListOfExp 23
(A Govt. Aided UGC Autonomous & NAAC Accredited Institute Affiliated to RGPV, Bhopal)
List of Programs
1. Write a program to find area of circle, square and rectangle.
2. Write a program to calculate simple interest.
3. Write a program to find ASCII code for a character entered by a user.
4. Write a program to check whether a number entered by user is even or odd.
5. Write a program to find the largest among three numbers entered by user.
6. Write a program to check whether a year entered by a user is Leap year or not.
7. Write a program which will calculate the roots of a quadratic equation entered by user.
8. Write a program in to create a calculator which is able to perform +, -, *, / using a switch
case.
9. Write a program which generates a multiplicative table of a number entered by user.
10. Write a program which calculates sum of N natural numbers.
11. Write a program to find factors of a number entered by user.
12. Write a program which will display the reverse a number entered by user.
13. Write a program to generate Fibonacci series.
14. Write a program to check whether a three digit number entered by user is an Armstrong
number or not?
15. Write a program to check whether a number entered by user is Prime or not.
16. Write a program to generate prime numbers between 1 to n (where 'n' is an integer entered
by user).
17. Write a program to search an element in an Array.
18. Write a program to sort the elements of an Array in ascending order using Bubble sort.
19. Write a program to find addition of two matrices.
20. Write a program to find factorial of number using a recursive function.
21. Write a program to add two complex numbers (use structure variable to store a complex
number).
22. Write a program to demonstrate read and write operations on file.
Please Note:
• Execute each program using C.
• Take the screen-shot of each program and its output.
• Save the screen-shots of programs and their outputs in a single PDF file in the order
mentioned above.
• First page of PDF File should contain your credentials (Name, enrolment etc.).