Question: Complete the 'getMaximumAmount' function below. # # The function is expected to return a LONG _ INTEGER. # The function accepts following parameters: # 1
Complete the 'getMaximumAmount' function below.
#
# The function is expected to return a LONGINTEGER.
# The function accepts following parameters:
# INTEGERARRAY quantity
# INTEGER m
#
def getMaximumAmountquantity m:
code all write here
if namemain:
fptr openosenvironOUTPUTPATH'w
quantitycount intinputstrip
quantity
for in rangequantitycount:
quantityitem intinputstrip
quantity.appendquantityitem
m intinputstrip
result getMaximumAmountquantity m
fptrwritestrresult
fptrclose
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
