Array assignment:
I want you to write a program that will meet the following
specifications:
- Set up
a structure with multiple types of data that will be used as the type for
an array – the structure should have a dept number, a dept name and a dept
budget
- The
dept numbers should be something like 11, 18, 29, 33, 36, 38, 41, 44, 47
(note there are significant gaps between the numbers)
- You
should take in a dept number from the user and use it to access the
department name and the department budget
- Use
redim to establish the size of the array
- Use
redim preserve to increase the size of the array and add to the populating
data
- Write
a simple report (clarification – I want you to use my print examples under
printing where you bring over the print document and use it)