Question: Design a CounterConsoleMenu class that provides a console-based user interface for using Counter objects. This class should have, at minimum, the following behavior: A
Design a CounterConsoleMenu class that provides a console-based user interface for using Counter objects. This class should have, at minimum, the following behavior: • A mechanism to display the menu of choices (increment, decrement, reset, quit)
• A mechanism to get user input
• A mechanism to display the current count value
• A mechanism to increment, decrement, and reset the Counter
Develop a program called CounterTest to test the functionality of the CounterConsoleMenu and Counter classes working together.
Step by Step Solution
3.46 Rating (149 Votes )
There are 3 Steps involved in it
To design a CounterConsoleMenu class along with a Counter class and a CounterTest program well first need to define the features and behavior of each ... View full answer
Get step-by-step solutions from verified subject matter experts
