Ruby - Control Flow
Find the error in this Ruby code using
unless:
unless x > 10 puts 'Small' else puts 'Large'
unless:
unless x > 10 puts 'Small' else puts 'Large'
end to close unless blocks.end after else block, causing syntax error.end to close the unless block -> Option D15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions