Question: Nested Ifs or multiple IFs within an IF: 1 IF ( Age > 1 7 ) 2 IF Age < 5 0 3 Print Age

Nested Ifs or multiple IFs within an IF:
1 IF ( Age >17)
2 IF Age <50
3 Print Age is between 17 and 50
4 ELSE IF ( Age >50)
5 Print Age is greater than 50
6 END IF
7 ELSE
8 Print Age is less than 17.
9 END IF
Provide test cases which are needed for 100% Statement and Decision test coverage?For this firstly, convert given pseudocode to flow chart and then show how many test cases are required for 100% statement and Decision coverage.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!