Skip to content

Instantly share code, notes, and snippets.

# W04D03 Quiz
=begin
Your solutions to all the problems below (except for Problem 1) should be included in this file.
Assuming the database "quiz" mentioned in Problem 3 has been created, this file should be able to be executed in the command line (`ruby d03_quiz.rb`) without throwing any errors.
=end
## Problem 1
=begin
As you would with a regular homework assignment, please pull this file to your homework repository, make the necessary edits, push it, and then make a pull request.
@michaelkendall
michaelkendall / GA HW2
Created March 18, 2015 11:00
Homework 2
puts("Yo yo I'm C-3P0, human-cyborg relations.")
puts("What is your name?")
user_name = gets().chomp()
puts("It's a pleasure meeting you #{user_name}! Have you ever met a protocol droid before?")
user_answer = gets().chomp()
newGAstudent()
{
mkdir GeneralAssembly
cd GeneralAssembly
mkdir Homework/ Notes/ Projects/ Outcomes
mkdir -p Homework/week01/day01
mkdir -p Notes/week01/day01
echo "Keep calm and carry on" > README.md
echo "Hey there, student! Welcome to WDI6! I just set up this directory tree for you.”
cd ~