A family of four (Mom, Dad, Tom, and Will) has twelve dinner plates in a stack on the shelf. On Monday, the Nielsons came for dinner and eight plates were used. On Tuesday, everyone was home and four plates were used. On Wednesday, Mom and Dad went sailing while Tom and Will went to a friend's house, so no plates were used. On Thursday, Tom had soccer practice and three plates were used. On Friday, Will had karate lessons, so three plates were used again.
Write a program with a GUI to simulate the problem above. Cycle through the days and allow a user to enter the number of plates used. Display counters for each plate to indicate how many times each plate was used.