You need to write a program for a wedding planner. They wish to create a gift registry for each couple. They want the   gifts broken down by the whether the gift giver is on the bride side or groom side. They also know that common gifts   (toasters, silverware, and stemware) tend to be repeated so they want those gifts listed and have the name of the gift   giver under them. The following is an example of the output they wish.  The following output was created using the   following input:  Tom, Groom side, Toaster; Bill, Groom side, silverware; Bob, Groom side, stemware; Steve, Groom side,   Lexus; Jill, Bride side, toaster; Suzy, Bride side, silverware; Pat, Bride side, stemware; Karen, Bride side, horse.    assumptions nothing to add or subtract could be any gift just logging 3 common gifts (toaster, silverware, and stemware)  input gift giver name gift giver gift giver side (bride/groom)  calculations if giver side = groom 	groom count = groom count + 1 	if groom count = 1 		groom accum = "Groom side: " + "#. " + gift giver name + ". " + gift giver gift 	else 		groom accum = groom accum + groom count + gift giver name + ". " + gift giver gift else 	bride count = bride count + 1 	if bride count = 1 		bride accum = "Bride side: " + "#. " + gift giver name + ". " + gift giver gift 	else 		bride accum = bride accum + bride count + gift giver name + ". " + gift giver gift  if gift giver gift =  "toaster" 	toaster count = toaster count + 1 	if toaster count = 1 		toaster accum = "Multiple toasters by:" + gift giver name 	else 		toaster accum = toaster accum + gift giver name   else if gift giver gift =  "silverware" 	silverware count = silverware count + 1 	if silverware count = 1 		silverware accum = "Multiple toasters by:" + gift giver name 	else 		silverware accum = silverware accum + gift giver name   else if gift giver gift =  "stemware" 	stemware count = stemware count + 1 	if stemware count = 1 		stemware accum = "Multiple toasters by:" + gift giver name 	else 		stemware accum = stemware accum + gift giver name  output should look like this  Groom side: 1. Tom: toaster 2. Bill: silverware 3. Bob: stemware 4. Steve: Lexus  Bride side: 1. Jill: toaster 2. Suzy: silverware 3. Pat: stemware 4. Karen: horse  Multiple toasters by: Tom Jill  Multiple silverware by: Bill Suzy  Multiple stemware by: Bob Pat