Question: Provide test cases which are required to achieve 1 0 0 % Statement coverage ? For this firstly, convert given pseudocode to flow chart and

Provide test cases which are required to achieve 100% Statement coverage ? For this firstly, convert given pseudocode to flow chart and then show how many test cases are required for 100% statement coverage.
Print sum (int a, int b)
{
int result = a + b;
if (result >0)
print (red, result)
else if (result <0)
print (blue, result)
}

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!