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

Mary's random menu #4

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

Mary's random menu #4

wants to merge 1 commit into from

Conversation

mmlamkin
Copy link

@mmlamkin mmlamkin 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? I would not use a hash because there are not paired elements.
Did you find yourself repeating the same code? Why did you have to do it that way? My code isn't very repetitive except when deleting elements of each array. I used the method that I did because I was deleting a different random sample of the array with each loop.
What type of loop did you use? Why did you choose that type? I used an 'until' loop to ensure the number of menu items were within the range 1-10 because it will keep requesting user input until it fulfills certain requirements. I used a times loop to generate the menu because it would repeat the loop the requested number of times depending on use 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