Vidyalelo
Ruby Programming · Q30

Control Structures in Ruby

Programming · Ruby Programming · question 30

Q30

Which of the following is used to define a block of code that executes repeatedly until a condition is met in Ruby?

A.
for
B.
until
C.
loop
Answer
D.
while

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board