Added rounding to temp in C after correction