C#C
C#3y ago
Aron

❔ Please help with a ''simple'' cash-register simulator.

I need my program to be able to tell how many 50 cents it will give back to the customer. For example total sum is 99.5, customer pays 100 bill and will get 50 cents back. I've been sitting with this for hours and can't get it to work. Note that i started learning C# this week, and need to have this ready tomorrow. Appreciate any help! A following picture in the comment section of how the program looks.
fca30d0cf68cece8b3d94b03ac9cd672.png
Was this page helpful?