Produce an Ada program which, given three sides of a triangle, determines whether the triangle is:
Further, where a Scalene triangle is identified, determine whether it is:
Note that a right angled triangle is one where:
where a is the longest side. Where a triangle is not an equilateral, isosceles or right angled, it is either an acute or obtuse Scalene triangle. This can be determined as follows:
Assume that any individual side must be a positive number not greater than 100.0.
You should hand in a report comprising the following sections:
Marks will be distributed evenly over design, implementation and testing. Refer to guidance notes on the presentation of work if necessary.
Created and maintained by Frans Coenen. Last updated 11 October 1999