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

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!