Tom the cat is brushing up his math skills. He has a bag containing 'n' balls of different colors. Now tom can randomly pick any even number of balls from the bag. Tom wants to find out the sum of all such combinations of balls that he can pull out from the bag, given he can pull out at max 'k' balls in one pick.
Answers
Answered by
1
As the C++ writing is not supported here, i will provide you with the helpful link
http://www.codeproject.com/Questions/1115480/Need-a-C-or-cpp-programming-code-for-the-below-pro
http://www.codeproject.com/Questions/1115480/Need-a-C-or-cpp-programming-code-for-the-below-pro
Similar questions
Physics,
8 months ago
Math,
8 months ago
Environmental Sciences,
1 year ago
Math,
1 year ago
Sociology,
1 year ago