[Challenge ] A Simple challenge ... Find the roots of a quadratic equation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

[Challenge ] A Simple challenge ... Find the roots of a quadratic equation

condition : D=(b^2 )-4ac Nature of the roots. If D>0, the roots are real and distinct . If D=0, the roots are real and equal. If D<0, then roots are imaginary . Then , Calculate roots of a quadratic equation My code in CPP https://code.sololearn.com/cu4r22lsSSNd/?ref=app

3rd Feb 2018, 4:59 PM
VISHAL SRIVASTAVA
VISHAL SRIVASTAVA - avatar
6 Answers
+ 21
https://code.sololearn.com/czk3c9CBvjOb/?ref=app
5th May 2018, 1:57 PM
MeanMachine
MeanMachine - avatar
2nd May 2018, 12:48 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 4
https://code.sololearn.com/cPwEf4SMEuOG/?ref=app
4th Feb 2018, 5:52 AM
Arun
+ 1
roots
4th Feb 2018, 7:38 AM
Мухаммадшариф Саидмуроди
Мухаммадшариф Саидмуроди - avatar
+ 1
what roots??
4th Feb 2018, 7:46 AM
Мухаммадшариф Саидмуроди
Мухаммадшариф Саидмуроди - avatar