Title: Oct 3112:18 PM (1 of 20)
field names have to be unique this can be doneusing the index or subscript in square bracketts totell which deptArray I am referring to.
Title: Oct 3112:39 PM (2 of 20)
Title: Oct 3112:42 PM (3 of 20)
Entered a number 5 or above which excuted the else in the if.
Title: Oct 3112:42 PM (4 of 20)
deptNo is entered in response tothe prompt. It is then used toshow which deptArray[] should beused
If 3 is entered
If the 3 is entered you then get CU out ofthe array.
Title: Oct 3112:43 PM (5 of 20)
Title: Oct 3112:45 PM (6 of 20)
Title: Oct 3112:52 PM (7 of 20)
Title: Oct 3112:56 PM (8 of 20)
Title: Oct 311:02 PM (9 of 20)
Title: Oct 311:02 PM (10 of 20)
Title: Oct 311:10 PM (11 of 20)
Title: Oct 311:17 PM (12 of 20)
Title: Oct 311:18 PM (13 of 20)
Title: Oct 311:24 PM (14 of 20)
Title: Oct 311:25 PM (15 of 20)
Title: Oct 311:30 PM (16 of 20)
Title: Oct 311:33 PM (17 of 20)
Title: Oct 311:36 PM (18 of 20)
Title: Oct 311:38 PM (19 of 20)
Title: Oct 311:42 PM (20 of 20)