John was running from 40 thieves. John has got 3 gold boxes which weigh as 4kg, 2kg, and 1kg respectively. A witty man asked John to stay with him for seven days in exchange for 1kg gold per day. John needs to stay there for seven days and also do not want to give the witty man any advance. How can John pay for his seven days stay?
You have $100 with you and you have to buy 100 balls with it. 100 is the exact figure and you can't go below or above the numbers and you have to use the entire $100. If there is no kind of tax applied how many of each of the following balls will you be able to buy:
Green Balls costing $6
Yellow Balls costing $3
Black Balls costing $0.10
Now, how many of each must you buy to fulfil the condition given?