0
How can I solve a quadratic equations?
In C++
2 odpowiedzi
+ 1
#include <math.h>
int main(){
double a = n
double b = n
double c = n
double result = (b * -1) + sqrt(b * b - 4 * (a * c)) / 2 * a
}
+ 1
Ramphy Aquino Nova using #include <cmath> is better