subject
Computers and Technology, 18.10.2021 16:50 jahzz

1. 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
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
For all machines-not just hammers- the user applies force force to the machine to the machine over a certain distance. a. input b. output c. duo d. none of the above
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Which is a possible benefit of having a good credit history? having a checking account low interest rate on a car loan high interest rate on a credit card offer bankruptcy
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
You know the right answer?
1. Using the top–down method, please describe an algorithm for a program to solve the real roots of...
Questions
question
Mathematics, 07.06.2021 23:30
question
English, 07.06.2021 23:30
question
Mathematics, 07.06.2021 23:30
question
Mathematics, 07.06.2021 23:30
question
World Languages, 07.06.2021 23:30
Questions on the website: 13722363