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

Queues - Maria McGrew - Random Menu #33

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

Queues - Maria McGrew - Random Menu #33

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 9, 2017

Random Menu

Congratulations! You're submitting your assignment.

Comprehension Questions

Question Answer
Would a hash work just as well as an Array in this project? Why? Yes, because the hash would also allow for the loop to access the objects in the hash, and the order of the objects don't matter for this program.
Did you find yourself repeating the same code? Why did you have to do it that way? I don't believe I repeated the same code. I used only 1 block of code, with a loop.
What type of loop did you use? Why did you choose that type? I used the times loop because it allowed me to control the size of the list, up to the number 10. I also used an iteration variable in the loop so that the loop would iterate through each array up to 10 times.

Copy link

@droberts-sea droberts-sea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Random Menu

What We're Looking For

Feature Feedback                                                                              
Baseline
Random Menu of 10 items displayed in the terminal. Yes
Generator pulls one random item from each array to create menu items. Yes
Readable code with consistent indentation. Yes

Good work overall!

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

Successfully merging this pull request may close these issues.

1 participant