Question: Find 10 syntax errors from the given program. Write the line number and correct statement in the space provided below. sinclude tinclude includecionanip> #include namespace

 Find 10 syntax errors from the given program. Write the line

Find 10 syntax errors from the given program. Write the line number and correct statement in the space provided below. sinclude tinclude includecionanip> #include namespace std; const double pi-31.4; double d(float a, float b,float); int main() { float a, b, c, x1, x2, discriminant, realpart, imaginaryPart; ifstrean myInf; myinf.open(myinfo.doc); cin >> a >> b >> C; for(int i=1, ic-10, i++) discriminant -d (a,b); if (discriminant > >> >> 1 return 0;) double d (Float a,float b.Float) x-bb

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!