I need a help on writing a program that print a quadratic equation using built in function on c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I need a help on writing a program that print a quadratic equation using built in function on c++

25th Jul 2019, 6:24 PM
Judas Mogishe
Judas Mogishe - avatar
1 Answer
+ 1
#include <math.h> double formula= (b-sqrt((pow(b,2)-4*a*c)))/2*a;
25th Jul 2019, 9:42 PM
Rohit