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, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 23:00
Lucas put a lot of thought into the design for his company's new white paper. he made sure to include repeating design elements such as color schemes and decorative images. his goal was to a.add symmetry b.create a unified publication c.provide consistency d.save money
Answers: 1
question
Computers and Technology, 24.06.2019 09:30
What is the definition of digital literacy?
Answers: 1
question
Computers and Technology, 24.06.2019 23:50
Which career involves analyzing various factors that influence the customer decision-making process? analyze various factors that influence the customer decision-making processes. reset next
Answers: 2
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
Geography, 29.03.2021 17:50
question
Mathematics, 29.03.2021 17:50
question
Mathematics, 29.03.2021 17:50
question
English, 29.03.2021 17:50
Questions on the website: 13722363