Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

Was ignoring the problem an option? Why?

Answered: 1 week ago

Question

1. Diagnose and solve a transfer of training problem.

Answered: 1 week ago