Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ampers: Alex #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Ampers: Alex #6

wants to merge 1 commit into from

Conversation

brownav
Copy link

@brownav brownav commented Feb 6, 2018

Mood Analysis

Congratulations! You're submitting your assignment.

Comprehension Questions

Question Answer
Would a hash work just as well as an Array in this project? Why? No; we want unlinked, random variables to create our menu item. Hash would require fixed key:variable pairs versus three separate, random variable combinations.
Did you find yourself repeating the same code? Why did you have to do it that way? Somewhat, I repeated lines to create 3 variables for each new menu item, then deleted each variable to make sure there were no duplicate menu items created.
What type of loop did you use? Why did you choose that type? I used an each loop on a range, this gave me flexibility to re-define the range at the start of the program based on user input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant