POP PROGRAMS.

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

POP C Programs

1. Develop a C program that takes three coefficients (a, b, and c) of a quadratic equation ; (ax2
+ bx + c) as input and compute all possible roots and print them with appropriate messages.

2. Write a C program to swapping of 2 numbers using call by reference and call by value.

3. Write a C program to find the product of two given matrix.

4. Develop a C program to concatenate 2 strings without using built-in function.

5. Develop a C program to find the largest of three numbers using pointer.

6. Write a program to write employees details in a file called employee.txt. Then read the record of
the nth employee and calculate his salary.

7. Implement structures to read, write and compute average- marks of the students, list the
students scoring above and below the average marks for a class of N students.

8. Write a C program to print whether a given number is palindrome or not.

9. Write a C program to implement Bubble sort technique(ascending order).

10. Write a C program to transpose a MxN matrix.

11. Develop a program using pointer to compute the sum, mean and standard deviation of all
element stored in array of N real number.

12. Implement a C program to simulate a simple calculator that performs arithmetical operations
using switch statements.

13. Write a C program to swap two integers using call by value method of passing arguments to a
function.

14. Write a program to print all even numbers from m to n using pointers?.

15. Draw a flowchart and C program which takes as input p,t,r. Compute the simple interest and
display the result.

You might also like