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

1 Expert Approved Answer
Step: 1 Unlock

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

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!