IP Lab Internal Ques
IP Lab Internal Ques
a. A+B*C+(D*E)+F*G
b. A/B*C-B+A*D/3
c. A+++B---A
d. J= (i++)+(++i)
9) Take marks of 5 subjects in integers, and find the total, average in float
Unit 2
1)Write a C program to find the max and min of four numbers using if-else.
Unit 3:
LAB QUESTIONS Each question consists of 3 sub questions from unit 1,2 and 3
c) Write a C program to find addition of all even numbers and product of odd number in the
given array of numbers
4a) Write a c program to find the square root, power, cube root of a given number
b) Write a C program to find the max and min of four numbers using if-else
i. A+B*C+(D*E)+F*G
ii. A/B*C-B+A*D/3
iii. A+++B---A
iv. J= (i++)+(++i)
c) multiplication of 2 matrices
9a) Take marks of 5 subjects in integers, and find the total, average in float
c) Write a C program read elements of 2D array and display the square value of the elements
c) Write a C program to find the sum of secondary diagonal elements in a given square
matrix