THE EXERCISE OF THE GUYS GUYS HAS BEEN MOVED TO THE MENU "EXERCISE OF Teacher"

Quadratic equation 2

Threads: Let programmers program the quadratic equation 2: ax^{2} + bx + c = 0 with a, b, c typing.
Input: A line of 3 numbers separated by spaces.
Output: Print out the case.
1/ “VSN” – If equations infinitely many solutions
2/ “VN” – If the equation has no solution
3/ “x = 2.00” – If the equation has a solution (experience 2).
4/ If equation 2 experience, in 2 That experience in one line and separated by spaces. Little experience in front, large experience in the following.
The experience is rounded to 2 decimal.

For example:

input:
1 -2 1
output:
x = 1.00

You are not logged in? Log in to Submit Now!

57 Comments

Add a Comment