Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Assignment Submission: Calculator
Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions:
Reflection
| How did your code keep track of user input? | I set them equal to variable num_1, command, and num_2
| How did your code determine what operation to perform? | I wrote a method for each command in the beginning and then called for the methods later using case/when operation to evaluate the users input. |
| What opportunities exist to create small methods for this project? | some of the opportunities included the actual calculation for each operation which I already did, in addition method could have been used for the verification of the users input. |
| In the next project, what would you change about your process? What would you keep doing? | I would keep pseudo code/commenting to have a general idea of what the layout should be.
For future, I would maybe think ahead of what parts of the code I can put into a method. |