The roots of the equation ax2 +bx + c= 0 are by the formula a) Draw a flowchart to compute the roots of the equation. b) Using...

      

The roots of the equation ax2 +bx + c= 0 are by the formula
fig62562019930.png
a) Draw a flowchart to compute the roots of the equation.
b) Using the flow-chart write a program that will compute the roots and
if b2 – 4ac is negative, the program should display the message
“NEGATIVE

  

Answers


Kavungya
a) fig72562019931.png
b) Program roots (input, output)
{a program to calculate the roots of a quadratic equation var
A, b, C: INTEGER:
X, y: real;
Begin
Writeln (‘enter the values of a, b and c’):
Readln (a, b, c):
Kavungya answered the question on June 25, 2019 at 06:33


Next: Give any two types of data entries that may be input into a worksheet cell.
Previous: Briefly explain any two advantages and two disadvantages of using a database

View More Computer Studies Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions