Develop a console program C++ wxWidgets to build dynamically a three dimensional array of integers. (x,y,z are obtained form the user on every iteration of building, initializing, displaying and destroying) The application must be capable of receiving its input from: a) the user interactively b) from data file using I/O redirection c) from a data file specified as a command-line argument using the option -if 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. The -of 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.