Temperatures
Solution
....- The variable
$temperaturescontains a string with the temperatures measured during a month - Create an array
$temperaturesArraywith 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