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-generator.rb #16

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

Conversation

kayxn23
Copy link

@kayxn23 kayxn23 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? Yes, but the program would need to be restructured because some of the methods that I called on the arrays do not work on hashes.
Did you find repetitions of the same or similar code? Why did you have to do it that way? Not so much because using methods helped reduce the need for repetition
Did you use any loops? If so, how did it help solve a problem? Yes, loops make sure the program solicits information from the user according to program requirements(for example: retrieving a positive number from user, or asking for x numbers of 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