0
2.4kviews
Find the roots of quadratic equation. Is the above problem definition is complete? If not, make: this problem definition complete.
1 Answer
written 8.3 years ago by |
A program is a set of step-by-step instructions.
It directs the computer to do the tasks you want it to do and produce the results you want.
In computer programming, the term problem is task to be performed.
The problem has to be defined precisely.
Example:
So the given problem definition “Find the roots of quadratic equation” is incomplete.
Complete Problem Definition:
The statement should be “Write a program to find the roots of a quadratic equation, accepting the coefficients from user”.
It may also be specified to consider or to ignore the imaginary roots.