![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 18.10.2021 17:10 umimgoingtofail
Computer modelling and simulation
Using the top–down method, please describe an algorithm for a program to solve the real roots of a quadratic equation
ax2 + bx + c = 0
Your algorithm should ask the user for the coefficients. To calculate the roots of the equation,
Your algorithm should calculate the discriminant D given by D = b2 – 4ac.
If D > 0, the algorithm displays a message: The equation has two roots and then displays the roots.
If D = 0, the algorithm displays a message: The equation has one root, and then displays the root.
If D < 0, the algorithm displays a message: The equation has no real roots.
Create a flowchart for your algorithm.
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 20:20, ab847150
Wireless communications is likely to be viewed as an essential part of an enterprise network infrastructure when: select one: a. mobile communication is needed b. communication facilities must be installed at low initial cost c. communication must take place in a hostile or difficult terrain that makes wired communication difficult or impossible d. the same information must be broadcast to many locations
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 16:20, kimmmmmmy333
Octothorpe is another name for what common computer keyboard symbol?
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 23:00, maxy7347go
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 19:30, bbgirl8638
Of the following pieces of information in a document, for which would you most likely insert a mail merge field?
Answers: 3
You know the right answer?
Computer modelling and simulation
Using the top–down method, please describe an algorithm for a pr...
Questions in other subjects:
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/es.png)
![Konu](/tpl/images/cats/istoriya.png)
History, 06.12.2019 19:31
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 06.12.2019 19:31
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/mat.png)