Conversation
CalculatorWhat We're Looking For
You need to answer the comprehension questions when you submit your project. You and I can get in touch to figure that out together. You end up combining syntax for something that feels like an instance variable (because of the Nice use of Specifically in printing the math for the exponent, you have a bug. I'm making a separate comment in the code about it I think that your choice to have a limit on attempts is interesting. I think it's a good programming challenge, and I think it may or may not be frustrating for a user Overall, great calculator; functions well and does exactly what we asked you to do :) |
| exponent_value.concat(" = #{num1**num2}") | ||
| else | ||
| exponent_value = "#{num2}^#{num1} = #{num2}" | ||
| (num2.to_i-1).times do |
There was a problem hiding this comment.
I think this is supposed to use num1 instead of num2 here
Calculator
Congratulations! You're submitting your assignment.
Comprehension Questions