Question: What would a flowchart with these requirements look like? Inputs: Set of temperature data Outputs: Number of years the average temperature increased Number of years
What would a flowchart with these requirements look like?
Inputs:
Set of temperature data
Outputs:
Number of years the average temperature increased
Number of years the average temperature decreased
Number of years the average temperature remained steady
Maximum average temperature
Minimum average temperature
Processing:
Repeatedly process each temperature data point and determine whether the temperature increased or decreased and whether the temperature is currently the maximum temperature or the minimum temperature
The current temperature is potentially the maximum temperature if it is larger than the previously determined maximum temperature
The current temperature is potentially the minimum temperature if it is less than the previously determined minimum temperature
To start, the first temperature value should be considered as both the maximum and minimum temperature, which will be confirmed or disproved by processing the other data points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
