Ruby Ruby Basics Conditionals A Better "check_speed" Method

aszx

aszx

program.rb
def check_speed(speed)
  if speed < 45
    puts "too slow"
  elsif speed > 60
    puts "too fast"
  else 45 <= speed <= 60
    puts "speed OK"
  end
end