Write a program to find roots of a quadratic equation. (a) Draw program graph, DD path graph.

Question:

Write a program to find roots of a quadratic equation.

(a) Draw program graph, DD path graph. Also find independent paths and generate test cases.

(b) Find all du-paths and identify those du-paths that are not dc paths. Write test cases for every du-path.

Step by Step Answer:

Question Posted: