Logo 
Search:

C++ Programming Forum

Ask Question   UnAnswered
Home » Forum » C++ Programming       RSS Feeds

digital counter

  Asked By: Sadia    Date: Mar 27    Category: C++ Programming    Views: 2691
  

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.

Share: 



Tagged: