본문내용
root1==root2) {
cout<< "("<
}
else {
cout<< "("<
}
return 0;
}
double root_cal1(int a, int b, int c) {
int d;
d = pow(b,2)- (4*a*c);
return (((-b)+sqrt(d))/(2*a));
}
double root_cal2(int a, int b, int c) {
int d;
d = pow(b,2)- (4*a*c);
return (((-b)-sqrt(d))/(2*a));
}