Answer Posted / Kopal Yadav
"Ruby has two main looping structures: while loop and for loop. While loop checks a condition at the start of each iteration, while for loop initializes the counter, checks the condition, and increments the counter at the end of each iteration."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers