Ruby - Loops and Iteration
Given
n = 3, which code snippet correctly prints the numbers 1 to n using times?n = 3, which code snippet correctly prints the numbers 1 to n using times?i runs from 0 to n-1.i prints numbers 1 through n.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions