Question: Consider the following function: def f ( x , y ) : if x > 2 0 : return 1 elif ( x * y

Consider the following function:
def f(x, y):
if x >20:
return 1
elif (x * y)>20:
return 2
else:
return 3
Which of the following test cases would be considered edge cases for the above function? Select all that apply (one or more).
(19,-5)
(21,2)
(5,20)
(20,2)
(-4,-5)

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 Programming Questions!