Write a PHP script to calculate and display average temperature, and the temperatures lower and higher than the average.
Posted: Fri Jul 01, 2022 5:33 am
Question Recorded temperatures: 78, 60, 62, 68, 71, 68, 73, 85, 66 Expected Output: Average Temperature: 69.11 Above Average 78 Below Average 60 Below Average 62
Below Average 68 Above Average 71 Below Average 68 Above Average 73 Above Average 85 Below Average 66
Write a PHP script to calculate and display average temperature, and the temperatures lower and higher than the average. Use only array and array functions to do the Below Average 68 Above Average 71 Below Average 68 Above Average 73 Above Average 85 Below Average 66