Guest_imported
New member
- Jan 1, 1970
- 0
I wanted a c code where it gives u exact change in terms of dimes and quarters and dollars.(No penny or nickel available).
It shud not allow the user to input an amount which is not divisible by 5.
eg: Supposing I had asked for $11.80
It shud give me dollar=11, quarter=2,dime=3.
It shud not allow the user to input an amount which is not divisible by 5.
eg: Supposing I had asked for $11.80
It shud give me dollar=11, quarter=2,dime=3.