Consider the following triangle classification system, originally used by Myers [16]: The system reads in three positive

Question:

Consider the following triangle classification system, originally used by Myers

[16]: The system reads in three positive values from the standard input. The three values A,B, and C are interpreted as representing the lengths of the sides of a triangle. The system then prints a message on the standard output saying whether the triangle is scalene, isosceles, equilateral, or right angled if a triangle can be formed. Answer the following questions for the above program:

(a) What is the input domain of the system?

(b) What are the input conditions?

(c) Identify the equivalence classes for the system?

(d) Identify test cases to cover the identified ECs?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: