Name: ecrofirT 2009-08-21 9:32
A man has to buy some chocolate boxes
there are different types of boxes:
weight (kg)/// income ($) that the man gets for each box sold
1 10
2 26
3 43
4 52
5 53
6 56
7 71
8 87
9 95
10 100
Due to legal restrictiohns he can only buy 20 boxes and no more than 100Kg total
Also, he wants to choose 2 sizes because it's easier to commercialize.
so I need to write a program in qb/c/java solving this problem
can you help me? just gimme some ideas or pseaudocode please
I think it has something to do with arrays [weight,income] for each type but I'm lost
there are different types of boxes:
weight (kg)/// income ($) that the man gets for each box sold
1 10
2 26
3 43
4 52
5 53
6 56
7 71
8 87
9 95
10 100
Due to legal restrictiohns he can only buy 20 boxes and no more than 100Kg total
Also, he wants to choose 2 sizes because it's easier to commercialize.
so I need to write a program in qb/c/java solving this problem
can you help me? just gimme some ideas or pseaudocode please
I think it has something to do with arrays [weight,income] for each type but I'm lost