Stopping at a Specific Number

# Introduction In this lab, you will create a program that uses a for loop to iterate from 0 to 9, stops the iteration when encountering the number 5 using break, and prints the numbers in each iteration.

|
60 : 00

Click the virtual machine below to start practicing