Question: This is the homework assignment prompt - if needed for reference. This is what I have completed, my only problem is making sure my comments


This is the homework assignment prompt - if needed for reference.


This is what I have completed, my only problem is making sure my comments display the correct information - if someone can check my code and comments. I am also having difficulty alligning the following:

how can I get the two x = to allign perfectly with each other!
Thank you!
Name Due Date Solutions to the quadratic equation Ax quadratic formulas: +Bx + C-0 may be calculated using the -B+B2-4AC 2A B-VB2-4AC 2A or These formulas may be used, of course, only if the leading coefficient, A, is not zero. The number and type of solutions is determined by the value of the expression under the radical sign, B2 4AC, known as the discriminant: value of discriminant positive number of solutions kind of solutions real real zero tive Your job is to write a program which will read the coefficients of a quadratic equation and, if the leading coefficient is non-zero, calculate and report the solutions. Since programming languages does not provide the imaginary type, youll have to take appropriate steps to give imaginary results in the form shown. Just remember that every imaginary number is really determined by a pair of real numbers. Several sample runs appear on the next page; user input appears in bold type. The I which appears in the output is simply written where necessary; the actual calculations involve only real results. You are not required to duplicate this output, but you should provide all information shown. Name Due Date Solutions to the quadratic equation Ax quadratic formulas: +Bx + C-0 may be calculated using the -B+B2-4AC 2A B-VB2-4AC 2A or These formulas may be used, of course, only if the leading coefficient, A, is not zero. The number and type of solutions is determined by the value of the expression under the radical sign, B2 4AC, known as the discriminant: value of discriminant positive number of solutions kind of solutions real real zero tive Your job is to write a program which will read the coefficients of a quadratic equation and, if the leading coefficient is non-zero, calculate and report the solutions. Since programming languages does not provide the imaginary type, youll have to take appropriate steps to give imaginary results in the form shown. Just remember that every imaginary number is really determined by a pair of real numbers. Several sample runs appear on the next page; user input appears in bold type. The I which appears in the output is simply written where necessary; the actual calculations involve only real results. You are not required to duplicate this output, but you should provide all information shown
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
