Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

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

Answer Attachments

Exams With Marking Schemes

Related Questions