C PROGRAMMING LAB FILE

 

C PROGRAMMING LAB FILE

1.Write a program to find the largest of three numbers. 2.Write a program to find the largest of ten numbers (for-statement). 3.Write a program to find the average mail height & average female heights in the class (input is in the form of sex code, height).4.Write a program to find roots of a quadratic equation using functions and switch statements.5.Write a program using arrays to find the largest and second largest numbers out of given 50 numbers. 6.Write a program to check that the input string is a palindrome or not. 7. Write a program to print address and a value of a pointer. 8. Write a program in C to declare a static storage class.  9. write a program to search a linear number and its position. 10.Write a program to generate the Fibonacci series.


 

Post a Comment

0 Comments