The formula of finding the roots of a quadratic expression is given here below
In finding the roots, the values a, b and c are identified and then the discriminant i.e.
b2 - 4ac is calculated
If the discriminant is negative, then the roots are termed as "imaginary" otherwise the two roots are calculated using the formula.
Write a pseudo code that will solve the problem above. The values of a, b and c are entered from the keyboard. (5mks)
Question 3 - Pseudo-code
Print “enter student marks”
Read student marks
IF marks<50 THEN
Form 1 to Form 4 kcse past papers latest
Pre-Primary 1 to Std 8 Latest KCPE Past papers
KNEC PAPERS FOR COLLEGE
100% of 'A' students Acknowledge the use of revision papers as a way of bettering their grades. You too can; your time is now!
Don't have Credit/Debit Card? Click here for more choices
Contact us anytime
Trusted by over 500 schools and colleges
The list keeps growing 'day in, day out' ... List of Schools in Kenya