Vidyalelo
Ruby Programming · Q2

Control Structures in Ruby

Programming · Ruby Programming · question 2

Q2

Which of the following loops in Ruby is executed at least once?

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

Answer: Option D

Solution

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