Answer:
Troposphere - temperature decreases with altitude
Stratosphere - temperature increases with altitude
Mesosphere - temperature decreases with altitude
Thermosphere - temperature increases with altitude
Here's a visual to to the changes in temperature as altitude increases: