Kotlinlearncs.online LogoJava
Return to List

Solve: Aussie Slang Translator

Created By: Geoffrey Challen
/ Version: 2026.2.0

Australians are famous for shortening just about every word. Create a function called toAussieSlang that accepts a String containing an English word and returns the Australian slang equivalent.

Use the following translations:

  • "afternoon" -> "arvo"
  • "breakfast" -> "brekkie"
  • "barbecue" -> "barbie"
  • "chicken" -> "chook"
  • "friend" -> "mate"
  • "sunglasses" -> "sunnies"
  • "university" -> "uni"
  • "sandwich" -> "sanga"

If the word is not in the list above, return the original word unchanged.

Related Lessons

Stuck? You may find these lessons helpful:

Report a Problem

Attribution must link to this page: https://www.learncs.online/solve/kotlin/aussie-slang-translator/[email protected]