Ruby - Control Flow
What is the purpose of the else statement in Ruby's if structure?
What is the purpose of the else statement in Ruby's if structure?
else in if statementselse block runs only if all if and elsif conditions are false.else runs if no prior condition matches = B [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions