repl.it
Ruby

No description

fork
loading
Files
  • main.rb
main.rb
1
2
3
4
5
6
7
8
9
10
11
puts "Welcome to my restraunt!"
sleep (2)
puts "What would you like?"
input = gets.chomp
if input == '1'
puts "Thank you for your order it will be right out!"
sleep (4)
puts "Order up!"
sleep (3)
puts "Thank you come again."
end
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]
?