Question: hemd-315605 to Computer Programming for Engineer Find 10 syntax errors from the given program. Write the line number and correct statement in the space provided
hemd-315605 to Computer Programming for Engineer Find 10 syntax errors from the given program. Write the line number and correct statement in the space provided below. includeciostres includecaths includecionais includesfstream espace std; const double pi=31.4; double d{float a,float b,float); int main() float a, b, c, x1, x 2, discriminant, realpart, imaginaryPart; ifstream myint; myinf.open(myinfo.doc); cin >> >> >> C; for(int i=1, 1-10, 1.) { discriminant ad (a,b); if (discriminant (0) (* *1. (-b+sqrt(discriminant)) / (243); x2 = (b sqrt(discriminant)) / (2a); cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
