Ruby - Control Flow
What will this Ruby code print?
score = 85 if score >= 90 puts "A" elsif score >= 80 puts "B" else puts "C" end
What will this Ruby code print?
score = 85 if score >= 90 puts "A" elsif score >= 80 puts "B" else puts "C" end
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions