-
Notifications
You must be signed in to change notification settings - Fork 48
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
Amber Lynn - Calculator - Edges #48
base: master
Are you sure you want to change the base?
Conversation
CalculatorWhat We're Looking For
Good job with calculator! Great work practicing making methods, using methods, writing loops, and finding the correct ways to write conditionals. However, your code has a few bugs:
Also, overall, the indentation was lacking in this submission! I've tried to summarize my indentation expectations above, but let me know if you have questions. Otherwise, this was a great submission. Good work |
#################### | ||
in_progress = true | ||
|
||
while in_progress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like the variable in_progress
that is a boolean true
or false
. It reads really well as a human to say, "while in_progress
is true, this loop should execute".
Dee,
Thank you for the feedback! I will check over my code before submission
more thoroughly.
…On Wed, Aug 8, 2018 at 10:07 PM, dee ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In calculator.rb
<#48 (comment)>:
> +return num_one - num_two
+end
+
+
+def calculate_with_multiplication( num_one, num_two )
+return num_one * num_two
+end
+
+
+def calculate_with_division( num_one, num_two )
+return num_one / num_two
+end
+####################
+in_progress = true
+
+while in_progress
I really like the variable in_progress that is a boolean true or false.
It reads really well as a human to say, "while in_progress is true, this
loop should execute".
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#48 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfufZF86qswlBuMKwkCUslCirSX9WAZNks5uO8OCgaJpZM4V0WiQ>
.
|
Calculator
Congratulations! You're submitting your assignment.
Comprehension Questions