Question: Find 10 syntax errors from the given program. Write the line number and correct statement in the space provided below. #include #include < #include
Find 10 syntax errors from the given program. Write the line number and correct statement in the space provided below. #include #include < #include using namespace std; const double pi=35.4; double d (float a; float b;float c); int main() { float a, b, c, x1, x2, discriminant, realpart, imaginaryPart; cin >> a >> b >> c; for (int m=1;m > b >> c; } return 0, exit; } double d (float a, float b, float c) { return w= b*b 4*a*c;}
Step by Step Solution
There are 3 Steps involved in it
There are several syntax errors in the C program Here is the syntax errors with respective corrected ... View full answer
Get step-by-step solutions from verified subject matter experts
