Question: Can someone help me Write a PHP script to calculate and display the average, five lowest and highest temperatures. Recorded temperatures : 73, 75, 79,
Can someone help me Write a PHP script to calculate and display the average, five lowest and highest temperatures. Recorded temperatures : 73, 75, 79, 78, 60, 65, 74, 62, 62, 65, 64, 68, 62, 68, 71, 68, 73, 85, 66, 64, 76, 63, 75, 76, 73, 68, 62, 73, 72, 73.
Expected Output :
Average Temperature is : 70.6
List of five lowest temperatures : 60, 62, 63, 63, 64
List of five highest temperatures : 76, 78, 79, 81, 85
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
