# Practice: Creating Functions

Replace the copied team-score code with one displayTeamScores function that takes each team's rank, name and scores as parameters.

![Cheat sheet: Practice: Creating Functions](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/bf620a4b2fad40dbb83aae8dc74fc156.webp)

- Category: Java
- Level: Apprentice
- Tags: java
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/introduction-to-functions-practice-creating-functions-cheat-sheet
