Question: The programming language is C++. Part II - If-Else 1. Write a program that reads in three floating-point numbers and prints the smallest of the

The programming language is C++. Part II - If-Else 1. Write aThe programming language is C++.

Part II - If-Else 1. Write a program that reads in three floating-point numbers and prints the smallest of the three inputs. to 2. Write a program that prints all solutions to the quadratic equation ax2 + bx + c. The program should ask the user for a, b, and c and use the quadratic formula x = -b+ /62-4ac find the solutions. If the discriminant b2 - 4ac is negative, display the imaginary solutions in the form of u + vi, where u and v are both real numbers and i = -1. 2a

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!