Open PatrickFrankAIU opened 3 months ago
Write a loop that prints numbers from 1 to 50, but only displays numbers that are multiples of 5.
Tip: Use the modulus operator to determine whether a number is a multiple of 5.
Correct output: 5 10 15 20 25 30 35 40 45 50
Write a loop that prints numbers from 1 to 50, but only displays numbers that are multiples of 5.
Tip: Use the modulus operator to determine whether a number is a multiple of 5.
Correct output: 5 10 15 20 25 30 35 40 45 50