Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 736 Bytes

File metadata and controls

22 lines (13 loc) · 736 Bytes

Menu Class Overview

The Menu class job is to let the user interacting with the program, by displaying a menu of operations and processing the operation they want to process.

Contents

Class Members

  • operationNumber: Integer variable that stores the operation number chosen by the user.

Member Functions

  • displayOptions(): A private method that displays the options for the user.

  • getUserChoice(): A private method that returns the operation number chosen by the user.

  • processMenu(): A public method that processes the chosen option.