cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
help somebody..
help somebody..
Jan 21, 2012 at 12:27am UTC
barlongo
(1)
Input:
Weight: 202
Output:
100 lbs: 50lbs: 10lbs: 5lbs: 1lb:
202- 2 0 0 0 1
How to make this a program? Help.
Jan 21, 2012 at 12:38am UTC
ne555
(10692)
A greedy approach will work in this case.
Jan 21, 2012 at 1:39am UTC
Code Assassin
(326)
http://www.cplusplus.com/forum/beginner/1/
Read
the forum rules....
Jan 21, 2012 at 7:50am UTC
SameerThigale
(95)
You should at least think of an algorithm, then only we will help you with the code..
Topic archived. No new replies allowed.