Question: Find 10 errors Write line numbers and correct 1 #include 2 #include 4 using namespace std; 5 const pi=3.4; 1 6 double d (float a,b,c);

 Find 10 errors Write line numbers and correct 1 #include 2

Find 10 errors Write line numbers and correct

1 #include 2 #include 4 using namespace std; 5 const pi=3.4; 1 6 double d (float a,b,c); 7 int main() { 8 float a, b, c, x1, x2, discriminant, realPart, imaginary Part; 9 cout > a > > b >> C; 11 while !(cin.eof()) && ( a! =) 12 { discriminant Ed(a,b,c); 13 if (discriminant > a > > b > > C; 24 }\\ end of while 25 return 0; } 26 double d (float a, float b, float c) 27 { return int b*b - 4*a*c;}

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!