Question: Write a C program that lets a user enter temperature values until he/she enters -1 and then outputs 1) the number of times that the

Write a C program that lets a user enter temperature values until he/she enters -1 and then outputs 1) the number of times that the temperature value is A) less than 49 (inclusive) or B) between 50-69 or C) between 70-89 or D) above 90, and 2) the average/mean temperature. Your program must complete and use the following function (Note: -10 points if the function is not used in your program). void tempDist(int num, int *p_A, int *p_B, int *p_C, int *p_D)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!