Kotlinlearncs.online LogoJava
Return to List

Solve: Southern Hemisphere Seasons

Created By: Geoffrey Challen
/ Version: 2026.2.0

In the Southern Hemisphere, the seasons are opposite to the Northern Hemisphere! Create a function called southernSeason that accepts an Int representing a month (1 for January through 12 for December) and returns a String with the name of the season as experienced in Sydney, Australia.

The Southern Hemisphere seasons are:

  • Summer: December (12), January (1), February (2)
  • Autumn: March (3), April (4), May (5)
  • Winter: June (6), July (7), August (8)
  • Spring: September (9), October (10), November (11)

So while people in New York are bundling up for winter in January, Sydneysiders are enjoying a beach day in the middle of summer!

You can assume the input will always be a valid month number between 1 and 12.

Related Lessons

Stuck? You may find these lessons helpful:

Report a Problem

Attribution must link to this page: https://www.learncs.online/solve/kotlin/southern-hemisphere-seasons/[email protected]