Skip to content

Queues - Cara Comfort - Calculator#35

Open
cecomfort wants to merge 2 commits intoAda-C7:masterfrom
cecomfort:master
Open

Queues - Cara Comfort - Calculator#35
cecomfort wants to merge 2 commits intoAda-C7:masterfrom
cecomfort:master

Conversation

@cecomfort
Copy link

Calculator

Congratulations! You're submitting your assignment.

Comprehension Questions

Question Answer
Describe how you stored user input in your program? I stored user input into separate variables. If the user did not enter the input in the correct format (an operator or number), I prompted them to re-enter the input until they did so.
How did you determine what operation to perform? I used if statements to compare the user input to each allowable operation. By using compound conditionals within my if statements, I could allow the user input to be either the name or symbol for the given operation.
Do you feel like you used consistent indentation throughout your code? Yes, did auto indent at the end.
If you had more time, what would you have added to or changed about the program? I would have wanted to print out the formula instead of just the result to improve readability, and I would have liked to add support for parentheticals.

@kariabancroft
Copy link

Calculator

What We're Looking For

Feature Feedback                                                                              
Takes in two numbers and an operator and performs the mathematical operation. Well Done
Baseline
Readable code with consistent indentation. Well Done
Extras
Good use of clean conditionals and using methods to wrap up the math operations

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.

2 participants