CodeType
Learn
…
←
Fundamentals
10 / 15
Up next
while loop
fun
main
()
{
var
n =
3
while
(n >
0
) { println(n) n-- } }
What you're solving
repeat until a condition is false
Explain more ↓
Start typing →