Question: Basic C language 1. Roots of Quadratic Equation Write a program to compute the roots of a quadratic equation using the well-known quadratic formula: Your
Basic C language

1. Roots of Quadratic Equation Write a program to compute the roots of a quadratic equation using the well-known quadratic formula: Your program will prompt the user for the values: a, b, c and output each real root However, for "invalid" input (a 0 or values that would result in complex roots), the program will instead output a message that informs the user why the inputs are invalid with a specific reason). Your output should look like the following Enter the values of a, b, and c: 2 18 0 Output: Roots are 0.00 and-9.00 Enter the values of a, b, and c:1-2 3 Output: Would result in a complex root 2. Circle Write a program which will determine whether a point (x, y) lies inside the circle, on the circle or outside the circle. Your program should prompt user to enter x and y coordinates and then output the following. The center of the circle lies on origin i.e. (0, 0) and it's radius is 2 feet ter x and y coordinates: 0.1 0.6 The point (0.1, 0.6) lies inside the circle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
