Question: Submit your program through Blackboard - No late submissions! Make sure that you upload the right Ct+ source file III Write a root solver in

 Submit your program through Blackboard - No late submissions! Make sure

Submit your program through Blackboard - No late submissions! Make sure that you upload the right Ct+ source file III Write a root solver in C++ for quadratic polynomials: 1. Greet the user and request her to enter three floating point numbers (a,b,c). Quadratic polynomials are of the form: ax2+bx+c=0. 2. Find the two rootsi x1 and x2 using the usual quadtatic formula. x=2abtb2ac 3. If the user entered a=0 or if the number inside the root is negative, display an arror and terminate the program. 4. Otherwise, display the polynomial and its factorization. For example, if the user enters the numbers 1.02.01.0, the program should display: 1x2+2x+1=(x+1)(x+1) The evaluation rubric includes: logic and code correctness, formatting (proper use of vertical alignment of Ct++ code), and explanation of steps (comments)

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!