Open main menu

CDOT Wiki β

Changes

OPS435 Assignment 1 A

1,102 bytes added, 23:50, 13 February 2018
Daily Usage Menu
=== Daily Usage Menu ===
* If the command line option <b><code>--user</code></b> or <b><code>-u</code></b> is set, and the Daily Usage Report option is selected from the Main Menu, the following sub-menu should be presented on the screen:
 
<source>
Daily Usage Report - by User
============================
1) user1
2) user2
3) user3
...
r) Return to Main Menu
</source>
 
Daily Usage Report for the user selected should be displayed on the screen when selected.
 
When option <b>r</b> is selected, your program should return and display the main menu.
 
* If the command line option <b><code>--user</code></b> or <b><code>-u</code></b> is not set, and the Daily Usage Report option is selected from the Main Menu, the following sub-menu should be presented on the screen:
 
<source>
Daily Usage Report - by Remote Host
===================================
1) remote host 1
2) remote host 2
3) remote host 3
...
r) Return to Main Menu
</source>
 
Daily Usage Report via the remote host selected should be displayed on the screen when selected.
 
When option <b>r</b> is selected, your program should return and display the main menu.
=== Weekly Usage Menu ===
1,760
edits