Skip to content

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

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

NADIRHUSSAIN11
Copy link
Contributor

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.

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.
@PRMerger-2
Copy link
Contributor

@NADIRHUSSAIN11 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Court72
Copy link
Contributor

Court72 commented Apr 11, 2022

#label:"aq-pr-triaged"

@PRMerger12 PRMerger12 added the aq-pr-triaged Tracking label for the PR review team label Apr 11, 2022
@NADIRHUSSAIN11
Copy link
Contributor Author

NADIRHUSSAIN11:patch-1

@TylerMSFT TylerMSFT assigned TylerMSFT and unassigned colin-home Mar 9, 2023
@prmerger-automator prmerger-automator bot requested review from TylerMSFT and removed request for colin-home March 9, 2023 19:10
@prmerger-automator
Copy link
Contributor

@NADIRHUSSAIN11 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@TylerMSFT
Copy link
Collaborator

#sign-off

@prmerger-automator
Copy link
Contributor

@NADIRHUSSAIN11 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@TylerMSFT
Copy link
Collaborator

Thanks, @NADIRHUSSAIN11. It's been a long time, but this is finally going in :-)

@Jak-MS Jak-MS merged commit 4e905a1 into MicrosoftDocs:main Mar 9, 2023
@NADIRHUSSAIN11
Copy link
Contributor Author

Thank you so much @TylerMSFT ✨️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants