Design a CounterConsoleMenu class that provides a console-based user interface for using Counter objects. This class should
Fantastic news! We've Found the answer you've been seeking!
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 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.
Related Book For
Systems analysis and design
ISBN: 978-0136089162
8th Edition
Authors: kenneth e. kendall, julie e. kendall
Posted Date: