Write an alogorithm and draw the Flow Chart to
1 answer:
In computer programs, algorithms and flowcharts are used as prototypes of an actual program
<h3>The algorithm</h3>
The algorithm of the program is as follows:
- Input a, b, c
- Calculate d using d = b*b - 4 * a * c
- If d < 0, print "Complex roots"
- Else
- Calculate x₁ using x₁ = (-b + sqrt(d))/4 * a * c)
- Calculate x₂ using x₂ = (-b - sqrt(d))/4 * a * c)
- Print x₁ and x₂
- End
<h3>The
flowchart</h3>
This is always in represented using a diagram
See attachment for the flowchart.
Read more about flowchart and algorithms at:
brainly.com/question/16763367
#SPJ1
You might be interested in
Answer:
maybe select an instrument
The answer is click on new
B) For Military Purposes but around the 1970s they became widely available to consumers.
Using a linear search to find a value that is stored in the last element of an array of 20,000 elements, 20,000 element(s) must be compared.
Answer:
Option B is not correct
Explanation:
Dialogues become problematic when they appear automatically because of high level incompatibility