10:05 *l E LAB TEST.pdf Write a C program that read and store them in a one-dimensional array with data type of float named weight|]. From the array, find weight values (in kilogram) of 10 adults...


10:05 *l<br>E LAB TEST.pdf<br>Write a C program that read<br>and store them in a one-dimensional array with data type of float named weight|]. From the<br>array, find<br>weight values (in kilogram) of 10 adults entered by the user<br>(i)<br>(ii)<br>average value of weight<br>percentage of heaviest weight<br>Then display all the weight stored in the array. For example, if the first weight entered is<br>51.62, the display should be weight|0]=51.62. At the end of the program, display the result of<br>(i) and (ii) using a function that do not return a value.<br>Sample output:<br>Please enter 6 weight values :<br>41.48<br>51.54 61.62<br>71.65 63.60<br>71.58<br>weight[0]- 51.54<br>weight[1]- 61.62<br>weight (2)- 41.48<br>weight[3]- 71.65<br>weight[4]= 63,60<br>weight (5]= 71.58<br>Average Weight : 60.25<br>Heaviest Weight Percentage: 19.82<br>

Extracted text: 10:05 *l E LAB TEST.pdf Write a C program that read and store them in a one-dimensional array with data type of float named weight|]. From the array, find weight values (in kilogram) of 10 adults entered by the user (i) (ii) average value of weight percentage of heaviest weight Then display all the weight stored in the array. For example, if the first weight entered is 51.62, the display should be weight|0]=51.62. At the end of the program, display the result of (i) and (ii) using a function that do not return a value. Sample output: Please enter 6 weight values : 41.48 51.54 61.62 71.65 63.60 71.58 weight[0]- 51.54 weight[1]- 61.62 weight (2)- 41.48 weight[3]- 71.65 weight[4]= 63,60 weight (5]= 71.58 Average Weight : 60.25 Heaviest Weight Percentage: 19.82

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here