Question: Hi I got this code and apparently to achieve 100% path coverage for this code I need 9 test cases.Please help me write the 9

Hi I got this code and apparently to achieve 100% path coverage for this code I need 9 test cases.Please help me write the 9 test cases that achieve 100% path coverage.

import math def threeifs(a, b, c): if (a==1): print("Hi") if (b > 10): print("Mum") if (c < 50): print("and Dad")

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!