Ruby - Basics and Runtime
What will be the output when running this Ruby script with
ruby test.rb?puts 'Start' puts 5 + 3 puts 'End'
ruby test.rb?puts 'Start' puts 5 + 3 puts 'End'
puts prints on a new line, so output lines are 'Start', '8', 'End'.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions