Temperatures
Solution
....- The variable
$temperatures
contains a string with the temperatures measured during a month - Create an array
$temperaturesArray
with all the temperature values in$temperatures
- Then print:
- All measured temperatures, separated by a (white)space
- The average of all temperatures with 2 decimal digits
- The five lowest temperatures
- The five highest temperatures