0
1.6kviews
Determine the type of triangle, given its sides (i.e. isosceles, scalene, and equilateral).

Is the above problem definition is complete? If not, make this problem definition complete. -

1 Answer
0
52views
  • 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 “Determine the type of triangle, given its sides” is incomplete.

Complete Problem Definition:

  • The statement should be “Write a program to find the type of triangle from its given sides”.

  • It may also be specified to consider or to ignore the given angles.

Please log in to add an answer.