Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main() {
- SquareFunction* kwadratowa = new SquareFunction(1,2,-3);
- cout << kwadratowa->getY(1) << endl;
- cout << kwadratowa->isWithinRange(-10) << endl;
- for(int i = 0; i < kwadratowa->getRoots().size(); i++){
- cout << kwadratowa->getRoots()[i] << endl;
- }
- cout << kwadratowa->getRootCount() << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment