Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

basic C

Name: Anonymous 2010-11-24 12:17

can you help create a program that will accept an amount and output its denomination.

example

amount: 5670.45

1000: 5
500: 6
200: 0
100: 6
50: 1
20: 1
10: 0
.25: 1
.05: 3

Name: Anonymous 2010-11-25 0:34

>>15,20,22-23,26
I have no idea why a gentleman like you would hang out in /prog/, for you are a much better person than most of us put together. I tip my hat to you, sir. Or perhaps it's just that this board's been shit lately, which of course does not remove any of your merit, actually quite the contrary).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List