Consider the following triangle classication system, originally used by Myers [16]: The system reads in three positive values from the standard input. The three values
Consider the following triangle classication 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: Part a: What is the input domain of the system? Part b: What are the input conditions? Part c: Identify the equivalence classes for the system? Part d: Identify test cases to cover the identied ECs?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started