Question: Using C code Programming Q2. Write a complete C program to determine the roots of the quadratic equation: ar? + bx+c=0 using the well-known quadratic

Using C code Programming
Q2. Write a complete C program to determine the roots of the quadratic equation: ar? + bx+c=0 using the well-known quadratic formula: -65V 62-4ac X = 2a The quantity b2 - 4ac can be greater than, less than or equal to zero. Test the program using the following data: (Screenshot your output for all three cases) 1.) a = 3, b = 6, C = 3 2.) a = 1, b = 3, c = 1 3.) a = 2, b = -4, C = 3 Hint: If 62 4ac O then results are 2 real roots. If b2 - 4ac = 0 then results are repeated real roots. If b2 - 4ac
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
