Answer:
coupons = int(input("Enter the number of coupons you win: "))
candy_bars = int(coupons / 10)
gumballs = coupons % 10
print("Candy bars: " + str(candy_bars) + ", Gumballs: " + str(gumballs))
Step-by-step explanation:
*The code is in Python.
Ask the user to enter the number of coupons
Calculate the number of candy bars, divide the coupons by 10 and typecst the result to int
Calculate the number of gumballs, use the modulo to find the remainder
Print the values