subject

Write a program that asks a user for the coefficients and and outputs the roots of that equation. be aware of the following: • be sure that your request for input and your output both have descriptive text. • if the roots have an imaginary component, use when representing the imaginary term in the output. for example, you may output "3 + " as a root. • be sure to handle the cases in which any or all coefficients are equal to zero. o if a ! = 0, there could be 2 real distinct roots, 2 real identical roots (one root of multiplicity 2), or complex roots. o if a = 0, we are left with + = 0, a linear equation with one root. o 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 13:30
1. technician a says horsepower information can be used by consumers to compare the power of different automobile engines. technician b says that manufacturers will often list the horsepower output of their engines in the online service information. who is right?
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Which of the following would you find on a network
Answers: 3
question
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
You know the right answer?
Write a program that asks a user for the coefficients and and outputs the roots of that equation....
Questions
Questions on the website: 13722367