Skip to content

Instantly share code, notes, and snippets.

@kcelestine
Created June 10, 2014 02:40
Show Gist options
  • Save kcelestine/1ae737f64787a7ce54fe to your computer and use it in GitHub Desktop.
Save kcelestine/1ae737f64787a7ce54fe 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"
puts "8th Ave | 6th Ave | Union Square | 3rd Ave | 1st Ave | Bedford Ave"
elsif choice == "N"
puts "The (N) Train"
puts "Times Square | Herald Square | 28th St | 23rd St - HAMco Terminal | Union Square | 8th St"
elsif choice == "S"
puts "The (S)ix Train"
puts "Grand Central | 33rd St | 28th St | 23rd St | Union Square | Astor Place"
end
puts "Thank you and Goodbye!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment