Temperature is a continuous variable and not a discrete variable. This is because while the values of a discrete variable is gotten by counting data, the values of a continuous variable are obtained by measuring provided data.
Temperature can be measured, so it is a continuous variable.