-
Notifications
You must be signed in to change notification settings - Fork 967
update the result and exception error format. #3820
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
Conversation
I have updated the result format by '' cout << "Result"<<" of "<< x << oper << y <<" is : "<< result << endl; '' in ### To fix the "divide by zero" error and ### To call the Calculator class member functions section, so that the user can better understand what kind of operators and operands he used during input process, so if he will get any error regarding operators and operand can be solved easily. The other thing which I have updated is an exception error message ''Math error: Attempted to divide by Zero'' , so that the user can understand what is zero exception error.
@NADIRHUSSAIN11 : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
#label:"aq-pr-triaged" |
@NADIRHUSSAIN11 : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
#sign-off |
@NADIRHUSSAIN11 : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
Thanks, @NADIRHUSSAIN11. It's been a long time, but this is finally going in :-) |
Thank you so much @TylerMSFT ✨️ |
I have updated the result format by '' cout << "Result"<<" of "<< x << oper << y <<" is : "<< result << endl; '' in ### To fix the "divide by zero" error and ### To call the Calculator class member functions section, so that the user can better understand what kind of operators and operands he used during input process, so if he will get any error regarding operators and operand can be solved easily. The other thing which I have updated is an exception error message ''Math error: Attempted to divide by Zero'' , so that the user can understand what is zero exception error.