Logo 
Search:

GuestBook of Lorraine Stephens

 
Enter your message (HTML allowed after you earn 150 points)
Sadia Khan
  Sadia Khan from United States      Mar 25
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 are
required to define a class description for bounded counter. Provide the ability to set the maximum and minimum
values, to increment the counter, and to return the current counter value. The defaults value of the counter should
always be zero. However, you should also facilitate user to start counter at his/her specified number. Provide a
menu-driven interactive console that allows the user manipulate the counter as per he/she desires.