Created
June 10, 2014 02:39
-
-
Save kcelestine/5662e3ee51a88aebd4c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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