Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+4 votes

How do total value in cents add up to 41 in this question?

asked in CSC201 Spring 2021 by (1 point)

1 Answer

+3 votes

So a penny is one cent, a nickel is five cents, a dime is ten cents, and a quarter is 25 cents. Because we have Coins(1, 1, 1, 1), we have one penny, one nickel, one dime, and one quarter, or 1 + 5 + 10 + 25 = 41 cents.

answered by (1 point)
...