Easy
Thermometer Readings
Write
class Thermometer with a list of readings, a method add(t) and a method highest(). Read readings on one line, add each and print the highest.Input
Numbers separated by spaces.
Output
One number.
Sample 1
Input
30 32.5 29
Output
32.5
Sample 2
Input
25
Output
25.0
Output appears here