1. Write a program that prints the minimum, maximum, average and standard deviation of 5 floats.
a. Use “scanf()” to read the number
b. Test input: 23.5 47 -20.1 13 36
2. Write a program that reads the length of three sides of triangle, outputs its area.
a. use Heron’s formula to calculate the area
b. use “scanf()” to read length of the three sides
c. test input : the length of three sides are 10, 15, 24
You don’t need to consider the case which there is no solution in this assignment.
3. Chicken and rabbit in the same cage: it is known that the total number of chickens and rabbits is n, and the total number
of legs is m. Enter n and m, output the number of chickens and rabbits. You don’t need to consider the case which there is
no solution in this assignment.
a. use int type for input and output
b. use “scanf()” to read m and n
c. test input : m = 22 n = 7