Sunday 7 March 2010

cpp Programs




If else

C++ Program To Determine Whether The Seller Made Profit or Loss. Also Determine How Much Profit or Loss He Made




Companies Conducted problems:


A Milkman serves milk in packaged bottles of varied sizes. The possible size of the bottles are {1, 5, 7 and 10} litres. He wants to supply desired quantity using as less bottles as possible irrespective of the size. Your objective is to help him find the minimum number of bottles required to supply the given demand of milk.
 

No comments:

Post a Comment