PT Prob_2.3: Making Goody Bags

Directions:[br]Given the total number of each type of candy, the goal is to create the [b]greatest[/b] possible number of goody bags. To make goody bags, the Reese's and the Kisses must be divided into the same number of groups so that each goody bag has the same contents!!![br][br]Change the number of groups of Reese's and Kisses by typing the number of groups you want into the input boxes.[br][br]You can also change the scenario by changing the total number of each type of candy.

Information: PT Prob_2.3: Making Goody Bags