We take float variable for temperature because temperature is not always a integer value,it is also a decimal values and for decimal values we use float variable so we use float variable for temperature representation
temperature of boiling water=100°c
But temperature of a human body = 37.5°c