Question: Q1. Write a C program that read 10 Body Mass Index (BMI) entered by the user and store them in a one-dimensional array with data

Q1. Write a C program that read 10 Body Mass Index (BMI) entered by the user and store them in a one-dimensional array with data type of float named bmi). Suppose that the BMI for underweight is below or equal to 18.5, from the array, find (i) total number of underweight BMI (ii) average BMI (iii) highest BMI (iv) lowest BMI Then display all the BMI stored in the array. For example, if the first BMI entered is 18.0, the display should be bmi[0]=18.0. At the end of the program, display the result of (i) and (ii) using a function that do not return a value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
