Q. 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
  • (D) while
πŸ’¬ Discuss
βœ… Correct Answer: (C) loop

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
253
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate