QuestionQ93
VerifiedChapter 4: Test Analysis and DesignConsider a program that calculates the factorial of a number (n). The specifications state that:
- If
n < 0, the message "Value out of range" must be issued. - If
0 ≤ n ≤ 100, the program calculates the factorial and returns the number. - If
100 ≤ n ≤ 200, the message "Value out of range" must be issued.
Which of the following statements about the equivalence partitions is correct?
Community Discussion