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 #23

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

Create random-menu.rb #23

wants to merge 1 commit into from

Conversation

jazziesf
Copy link

@jazziesf jazziesf commented Aug 7, 2018

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? I think it would be hard to randomize using a hash. Since each data type is defined by one topic it seems better to use an array rather than a hash.

| Did you find repetitions of the same or similar code? Why did you have to do it that way? Much of the code was functional and I used it in different ways for each option. | |
| Did you use any loops? If so, how did it help solve a problem? | I used the loops to run through each randomize array output the each item at random. In the option based on the user input you loop through the arrays to ask for user input on menu items. |

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