Skip to content

Update quadratic.cpp#45

Open
anapaulaonc wants to merge 1 commit into
Codecademy:masterfrom
anapaulaonc:patch-1
Open

Update quadratic.cpp#45
anapaulaonc wants to merge 1 commit into
Codecademy:masterfrom
anapaulaonc:patch-1

Conversation

@anapaulaonc

Copy link
Copy Markdown

So you just call the sqrt() one time.

@CLAassistant

CLAassistant commented Apr 2, 2021

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.



double root1, root2;
root1 = std::sqrt(b*b - (4*a*c)); //So you just call the function sqrt() one time.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that you should name this variable is delta

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants