Question: Develop a console program to build dynamically a three dimensional array of integers. ( x , y , z are obtained from the user on

Develop a console program to build dynamically a three dimensional array of integers. (x,y,z are obtained from the user on every iteration of building, initializing, displaying and destroying) The application must be capable of receiving its input from a data file specified as a command-line argument using the option -input. The output will be sent to the display as a sequence of 2-dim arrays (x and Y) for as many z. If an outfile is specified at the command-line then the output should be sent to the file instead of the display. The -output option will indicate the output file if available. The 3-dim arrays are to be initialized with random numbers from 1-9 and displays the array elements. It must allow the user to continue this process until "N" is entered.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!