Part 2: Synthesis




Document: Software Engineering 1: Laboratory Test 1

next
up Test 1: (Mock Test)
gif Part 1: Analysis

Part 2: Synthesis

You are required to develop (code, test, debug) a C program to carry out the following calculation. Given a quadratic equation of the form:

the roots - if they exist - are given by the equation:

Your program should get values for the coefficients a, b and c, and print out the roots of the equation.

Your program must do the following:



McMullin@ugmail.eeng.dcu.ie
Wed Jan 10 10:02:44 GMT 1996