Question: Goal: Use a for loop to perform a repetitive action Assignment: At the city zoo, the temperatures in a desertic exhibition rise from 1 3
Goal: Use a for loop to perform a repetitive action
Assignment: At the city zoo, the temperatures in a desertic exhibition rise from degrees Celsius in January to degrees Celsius in June. That corresponds to an average increase of degrees Celsius each month, for six months. Write a for loop that displays the temperature for each of these six months, starting at degrees and ending at degrees. The loop should print each temperature on a separate line.
Note: Only write the lines to create a loop and print out the necessary amount of characters.
Reference: This assignment is based on the data provided by MeteoBlue.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
