Below are the items that can be taken into a package and their weights. Item : 1 2 3 4 5 6 7 8 Weight ( kg ) : 3 4 1 6 5 8 3 8 Maximum weight capacity of the package is 10 kg's and can carry maximum of 2 items. Write a JAVA code of which two items that should placed in the package . NOTE: Package's weight capacity should be defined as a variable and your program should still be running when its value is changed.
Answers
Answered by
0
i will give answer but please follow me and mark me as brainllist and i am giving points free who are following me and who mark me as brainllist so do this guys
Similar questions