Share your repls and programming experiences

← Back to all posts
Quadratic Equation calculator [version 0.1.4]
daCynicalbOi

I FINALLY DID IT...
THE QUADRATIC EQUATION CALCULATOR!!!!!!!!

Voters
daCynicalbOi
Comments
hotnewtop
ch1ck3n

if the discriminant is below 0 then just add an i after the roots and it's all OK

daCynicalbOi

@ch1ck3n Is it really neccessary though?

ch1ck3n
daCynicalbOi

@ch1ck3n well I don't really get what you're saying. Wdym add 'i' after the roots? I know what 'i' is, it's radical(-1), but how do you add it after the roots?