Movement related to temperature

Use the sprintf() function.