Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool DoYouWantToSolveAnotherQuadraticEquation()
- {
- bool solveAnother;
- cout << "\n\nDo you want to find the roots of another quadratic?"
- << "\nEnter 0 for no, or non-zero for yes: " << flush;
- cin >> solveAnother;
- if (solveAnother == 0)
- solveAnother = false;
- else
- solveAnother = true;
- return solveAnother;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement