subject

Write a program that asks a user for the coefficients , , and and outputs the roots of that equation. Be aware of the following:

a. Be sure that your request for input and your output both have descriptive text.
b. If the roots have an imaginary component, use when representing the imaginary term in the output. For example, you may output "3 + 7" as a root.
c. Be sure to handle the cases in which any or all coefficients are equal to zero.
d. If A != 0, there could be 2 real distinct roots, 2 real identical roots (one root of multiplicity 2), or complex roots.
e. If A = 0, we are left with + = 0, a linear equation with one root.
f. If A = B = 0, we are left with C = 0, so if user entered a non-zero value of C, write a message to the screen indicating this error.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
When is it appropriate to use an absolute reference
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
question
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
You know the right answer?
Write a program that asks a user for the coefficients , , and and outputs the roots of that equatio...
Questions
question
Biology, 20.09.2020 01:01
question
Mathematics, 20.09.2020 01:01
question
Mathematics, 20.09.2020 01:01
Questions on the website: 13722363