Question: using C programming Assume that the following array contains temperatures of day in June. N is the number of days in June. int temperatures[N] =
using C programming
Assume that the following array contains temperatures of day in June. N is the number of days in June. int temperatures[N] = { 21, 21, 19, 24, 27, 31, 27, 25, 30, 30, 27, 26, 25, 25, 28, 31, 29, 26, 25, 27, 28, 28, 27, 26, 29, 28, 29, 30, 31, 29 }; Write the following functions and use these functions in a program (main) that will display the output on the screen. > void find_lowest_temperature(int temperatures[], int n, int *low); The function finds the lowest temperature in June. "low" points to variables in which the function will store the lowest temperature. void find_low_times(int temperatures[], int n, int low, int *times); The function determines how many the day(s) of June have the lowest temperature. "times" points to variables in which the function will store how many days have the lowest temperature. Output of the program: The lowest temperature in June is 19 The lowest temperature is reached 1 times in June
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
