Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in c programming plz thank you Arrays Review Tim Cook has been reviewing complaints from his customers that they are receiving damaged iPhones and suspects
in c programming plz
thank you
Arrays Review Tim Cook has been reviewing complaints from his customers that they are receiving damaged iPhones and suspects that there is a problem with temperature controls at a specific warehouse facilities. Apple recommends storing the iPhone between -40 to 1139 F to avoid damage. Mr. Cook wants to review average daily temperatures from this facility to determine if there is a problem. Create a program that allows him to enter 21 temperatures/values then determine the following: Use an array to store the values entered by the user. Create one function that determines and returns the average of the values. Create a function that returns the highest value entered using the array of entered values. Create a function that returns the lowest value entered using the array of entered values. Display the average temperature, the highest temperature and the lowest temperature. Notify the user if any of the computed values (the average, high| or low) is outside of the recommended operating range. Do this for each array. Use whole (integer) values, do not worry about decimal values. Some reminders: Each temperature entered represents the average temperature for that day. That is, for each value the program accepts that as an entry for one day. Use Fahrenheit for the acceptable temperature range. You don't need to worry about validating user input though. Assume your users will be entering reasonable values. You only need to submit your code file (temperatures.c). Below is a screenshot of my program, your program does not need to be exact: Arrays Review jstrosch@Josh-Ubuntu: -/Dropbox/DSU/2014/CSC 250/Assignments jstrosch@Josh-Ubuntu:-/Dropbox/DSU/2014/CSC 250/Assignments$ ./a.out Please enter 7 temperatures: 145 - 30 99 98 78 100 101 The average is: 84 The high is: 145 The low is: -30 WARNING: The high is outside the recommended range! WARNING: The low is outside the recommended range! jstrosch@Josh-Ubuntu:-/Dropbox/DSU/2014/CSC 250/AssignmentsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started