00:01
In this problem, we are going to draw a flowchart and write its pseudocode to determine for a given number of months, namely a number from 1 to 12, is in which season, winter, spring, summer or autumn.
00:17
Let's start with the flowchart.
00:21
We start here.
00:24
We have the input number for the month.
00:28
So we have input the month.
00:30
Then we check is the month between 1 and 12.
00:46
If no, then we return invalid month.
00:54
If yes, we ask is the month in the range 3 to 5.
01:09
If yes, then we return spring.
01:14
If no, we ask is the month in the range 6 to 8.
01:30
If yes, we return summer.
01:39
If no, we ask is the month in the range 9 to 11.
01:53
If yes, we return autumn...