Question: Write a program to ask user to provide coefficients a, b and c An explanation on how to do this lab would be very helpful

Write a program to ask user to provide coefficients a, b and c

An explanation on how to do this lab would be very helpful in my future. Thank you !!

The language is C

Write a program to ask user to provide coefficients a, b and

Quadratic equation ax2 + bx+c=0 *12= -b3Vb2-4ac Write a program to ask user to provide coefficients a, b and c. If a=0 and b== 0 and c=0 Write: "infinitely many solutions" If a== 0 and b== 0 and c != 0 Write: "no solution" If a == 0 and b != 0 Write: x=- If a != 0 If b2 - 4ac > Write: x = -b+vb2-4ac x = -b-vb2-4ac 2a x2= Else if b2 - 4ac ==0 Write: x1 = x2 = Else Write: "no real solutions

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!