Ruby MCQ set number 00178

1. While loop checks the condition and the loop keeps on running till the condition is true, it stops when the condition becomes false. a) True b) False AnswerAnswer: a [Reason:] While condition is true keep on looping. 2. What is the output of the given code? counter = 1 while counter < 11 puts…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership