Created
January 9, 2019 23:30
-
-
Save ChantalDemissie/0e174b20aaebfd8704e199c22f6fae99 to your computer and use it in GitHub Desktop.
Bio Activity
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 "Hello I am doing an article on new students for the Ada newsletter could I collect some information for a bio?" | |
puts "what is your name?" | |
name = gets.chomp | |
puts "where are you from?" | |
hometown = gets.chomp | |
puts "What is your favorite thing in the world?" | |
favorite = gets.chomp | |
puts "What was your job before becoming a student at Ada?" | |
job = gets.chomp | |
puts "The new student spotlight is on #{name} from #{hometown}. Before starting at Ada Developers Academy she was working as a #{job}. If you see #{name} around make sure to say hello to our newest adie and ask about #{favorite}!" |
I encourage you to think about how you’ll compute number of days until next birthday, and some of the other optional requirements for this program.
I will try to update my code with that this weekend.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice work!
.rb
extension in the gist instead of.txt
extension. This will render syntax highlighting that will make the code easier to review.