Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ChantalDemissie/0e174b20aaebfd8704e199c22f6fae99 to your computer and use it in GitHub Desktop.
Save ChantalDemissie/0e174b20aaebfd8704e199c22f6fae99 to your computer and use it in GitHub Desktop.
Bio Activity
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}!"
@shrutivanw
Copy link

Nice work!

  • Consider adding an empty line of code after each gets.chomp for improved readability.
  • Save your code file with a .rb extension in the gist instead of .txt extension. This will render syntax highlighting that will make the code easier to review.

@shrutivanw
Copy link

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.

@ChantalDemissie
Copy link
Author

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