Kotlinlearncs.online LogoJava
Return to List

Solve: Victory Loop

Created By: Geoffrey Challen
/ Version: 2020.8.0

Let's write a simple loop. Assuming an int variable named repeat has been declared and initialized to a value larger than or equal to zero, write a loop that prints "Victory!" repeat times on separate lines. You may use any kind of loop you want! But do not modify the value of repeat.

Related Lessons

Stuck? You may find these lessons helpful: