digital counter

A digital counter is a bounded counter that turns over when its integer value reaches a certain maximum.Examples include the numbers in a digital clock. Your task is to simulate such digital counter using OOP. You arerequired to define a class description for bounded counter. Provide the ability to set the maximum and minimumvalues, to increment the counter, and to return the current counter value. The defaults value of the counter shouldalways be zero. However, you should also facilitate user to start counter at his/her specified number. Provide amenu-driven interactive console that allows the user manipulate the counter as per he/she desires.