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

Mariko Random Menu #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Mariko Random Menu #23

wants to merge 2 commits into from

Conversation

marikoja
Copy link

@marikoja marikoja 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? Yes a hash would work well in this project, the array name could become a symbol, a hash would have been a good option because I could have eliminated the repeated loops.
Did you find yourself repeating the same code? Why did you have to do it that way? There is a block of code that I repeat in my program to print the final menu, it is repeated so that both outcomes of using a pre-written menu or creating one from user inputs.
What type of loop did you use? Why did you choose that type? I used times loops in my code to loop over every item in the arrays and track the index position. I also used an until loop to continue until the user put in an appropriate response.

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