Solved
Give this a shot...
Posted on 2000-03-06
Back in my senior year of high school my shop teacher was offering extra credit for anyone that could come up with some code (Commodore 128 at the time) to answer his challenge. Well, I graduated over 10 years ago, now play with Visual Basic 6, and his challenge still bothers me. If anyone can help me with this I will give you all the points I have (sorry, I just joined so it's only 75).
The challenge was this:
You are building a shed and know exactly what cut lenghts of wood you need. So now you need to go buy the wood, assuming the 2x4's (in this case it's all 2x4's) come in 8ft lenghts, how many 2x4's will you need to build the shed.
Even more extra credit was available if the cut width was added into the algorithm...
This has bothered me since 1988 and will for a while.. Any help would be great...
Thanks in advance...