Open main menu

CDOT Wiki β

Changes

OPS435 Assignment 1 A

386 bytes added, 06:38, 20 February 2018
Monthly Usage Menu
Monthly Usage Report - by User
==============================
Valid 0) All Users:1) User1 2) User2 3) User3 ...
...
9) User 9
r) Return to Monthly Usage Report Menu
</source>
When option <b>rNote</b> is selected: If there are fewer than 9 users, display only the actual number of user on the Monthly Usage Report menu should be displayed.
When a option <b>valid userr</b> is selected, the previous Monthly Usage Report menu should be displayed. When one of <b>0-9</b> is selected, the Monthly Usage Report for the selected user (s) should be generated for Jan to Dec. It Skips the usage of a given month where the Monthly Usage is zero, skips that month.  Redisplay the same menu if the user entered any other digits/letters. The following is a sample Monthly Usage Report for user1 on host.cty.senecacollege.ca:
<pre>
Monthly Usage Report for user1 on host.cty.senecacollege.ca
Monthly Usage Report - by Remote Host
=====================================
Valid 0) All Remote Hosts:1) 10.94.10.252) 10.94.10.1203) 172.16.99.1192.168.45.3
...
9) 192.168.45.3
r) Return to Monthly Usage Report Menu
</source>
<b>Note</b>: If there are fewer than 9 remote hosts, display only the actual number of remote host on the menu. When option <b>r</b> is selected, the previous Monthly Usage Report menu should be displayed. When one of <b>0-9</b> is selected, the Monthly Usage Report for the selected Remote Host(s) should be generated for Jan to Dec. Skips that month where the Monthly Usage is zero.  Redisplay the same menu if the user entered any other digits/letters.
When a <b>valid Remote Host</b> is selected, the Monthly Usage Report for the selected Remote Host should be generated for Jan to Dec. It the usage of a given month is zero, skips that month. The following is a sample Monthly Usage Report for 10.94.10.25 on host.cty.senecacollege.ca:
<pre>
1,760
edits