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

A little help would be nice...

Name: Anonymous 2010-05-01 5:17

Hello /prog/rammers.

Can someone help me with a C dilemma I currently have?

We have to make a program that calculates how many ones, fives and tens you need given a whole number amount.

Hints, anyone?

Name: OP 2010-05-01 6:42

I was thinking of something of a simpler scale though, as decoding them drives me insane.

Name: OP 2010-05-01 6:47

OP again. What I was looking for is a simple Input/Output program where you put in a whole number, then the program will compute for the least amount of ones, fives and tens.

Given example:
Input:24
Output:
 Tens:2
 Fives:0
 Ones:4

Hope this helps.

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