Ruby Programming Questions and Answers – The Case Conditional Statement
This set of Ruby Programming Multiple Choice Questions & Answers (MCQs) focuses on “The Case Conditional Statement”. 1. What is the output of the given code? age = 5 case age when 0 .. 2 puts "baby" when 3 .. 6 puts "little child" when 7 .. 12 puts "child" when 13 .. 18 puts … Read more