Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ALGORITHM: Season of the year
- Variables: x integer
- START:
- Write("Enter the month number: ")
- Read(x)
- if( x >= 3 and x <= 5) then
- Write("Spring")
- elseif (x >= 6 and x<=8) then
- Write("Summer")
- elseif(x >= 9 and x <= 11) then
- Write("Fall or Autumn")
- else
- Write("Winter")
- END.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement