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

Create random-menu.rb #13

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

Conversation

Naltrexone
Copy link

Random Menu Generator

Congratulations! You're submitting your assignment.

Comprehension Questions

Question Answer
For the places where arrays were used, could using a hash work? Could it work easily? Why or why not? It could work, but not very easily.
Did you find repetitions of the same or similar code? Why did you have to do it that way? Yes. I still did it that way because the variable/array names in each loop were different and I did not know how to change that for each time the loop ran.
Did you use any loops? If so, how did it help solve a problem? It reduced the length of the code and made it a little bit more elegant.

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