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 01:30
What kind of motivation is katrina showing? use the drop-down menu to complete the statement. katrina is using motivation because she is personally interested in learning more.
Answers: 2
question
Computers and Technology, 22.06.2019 13:30
Asoftware company hired ray, a college graduate to work in their development team. ray is assigned to work in the coding phase of a project. what happens during the coding phase of a software development project? a. the customer receives a working model of the software. b. developers convert the program design into code. c. developers gather requirements directly from the stakeholders. d. testing teams check the product for quality.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
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
question
Social Studies, 30.06.2019 22:10
Questions on the website: 13722360