CP INTERNAL LAB IMPORTANT QUESTIONS
1. Conversion of Fahrenheit to Celsius and vice versa
2. Simple interest calculation
3. Finding the square root of a given number
4. Area of a triangle using heron's formulae
5. Evaluate the following expressions.
a. A+B*CHD*E) + F*G
b. A/B*C-B+A*D/3
C. A+++B---A
d. J= (i++) + (++i)
6. Find the maximum of three numbers using conditional operator
7. Take marks of 5 subjects in integers, and find the total, average in float
8. Write a C program to find the max and min of four numbers using if-else.
9. Find the roots of the quadratic equation.
10. Write a C program to simulate a calculator using switch case.
11. Write a C program to find the given year is a leap year or not.
12. Find the factorial of given number using any loop.
13. Find the given number is a prime or not.
14. Compute sine and cos series
15. Checking a number palindrome
16. Construct a pyramid of numbers.
17. Find the min and max of a 1-D integer array.
18. The reverse of a l-D integer array
19. Eliminate duplicate elements in an array.
20. Addition of two matrices
21. Multiplication two matrices
22. Concatenate two strings without built-in functions
23. Reverse a string using built-in and without built-in string functions
24. Write a C program to find the total, average of n students using structures