Skip to content

Instantly share code, notes, and snippets.

@kcelestine
Created June 10, 2014 02:39
Show Gist options
  • Save kcelestine/5662e3ee51a88aebd4c5 to your computer and use it in GitHub Desktop.
Save kcelestine/5662e3ee51a88aebd4c5 to your computer and use it in GitHub Desktop.
puts "Welcome to Khadijah's homework"
puts "The (L) Train"
puts "The (N) Train"
puts "The (S)ix Train"
print "Please choose an option: "
choice = gets.chomp
if choice == "L"
puts "The (L) Train"
elsif choice == "N"
puts "The (N) Train"
elsif choice == "S"
puts "The (S)ix Train"
end
@DrRobotmck
Copy link

Keep an eye on your indentation! Standard ruby indentation is 2 spaces (1 tab). You might have to change a setting in your text editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment