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

Random menu homework (Ampers: Phoebe Manning) #11

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

Conversation

pmanni02
Copy link

@pmanni02 pmanni02 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? I think a hash would create more work. It would require creating keys for each value while an array does this automatically. It would work but an array would be easier to code.
Did you find yourself repeating the same code? Why did you have to do it that way? I repeated the code to store the random variables and the code to delete the variables (within the while loop) that have already been used. I repeated for readability.
What type of loop did you use? Why did you choose that type? I used an until loop for user input. I used this loop type bc it allows me to explicitly/efficiently look for a specific input type/range. I used a while loop to print out the menu bc the number of iterations is known.

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