Skip to content

Conversation

@brittanyrjones
Copy link

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 just as well because the hash would store the information as keys instead of arrays. We could then use the keys to access the information just as we use the indices.
Did you find yourself repeating the same code? Why did you have to do it that way? I found myself repeating a few parts of the code, namely line 27. I did it this way because I was unsure how else to do it. I also did it this way because I thought it would be best practice to write the code for each array separately.
What type of loop did you use? Why did you choose that type? I used a times loop because I wanted to make the loop run a specific amount of times (10). I also used a conditional loop to try getting the user input on how many menu items they wished to see. This part of my code does not work exactly how I want it to.

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