Answer:
Answered below
Step-by-step explanation:
//Python code
numberOfCasts = 3
j = 0
fishingPoints = 0
sum = 0
while j < numberOfCasts:
dieNum = randint(1 , 6)
if dieNum ==1:
fishingPoints = 2
elif dieNum == 2:
fishingPoints = 4
elif dieNum == 3:
fishingPoints = 6
elif dieNum == 4:
fishingPoints = 8
elif dieNum == 5:
fishingPoints = 10
elif dieNum ==6:
fishingPoints = 12
sum += fishingPoints
j++
if sum > 30:
print ("Great catch")
elif sum > 10 and sum <= 30:
print("Good catch")
else:
print ("Bad day")