Q91
What is the output of the given code? counter = 1 while counter < 11 puts counter counter = counter + 1 end
A.
Prints the number from 1 to 10
AnswerB.
Prints the number from 1 to 11
C.
Prints the number from 2 to 10
D.
Infinite loop
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board