Best answer will go to the person whose code works and has the best explantion for each line of code

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Order a Similar Paper Order a Different Paper

Best answer will go to the person whose code works and has the best explantion for each line of code.

Write a C++ program that uses a 3 by 3 by 3, 3-dimensional array named “fun” to perform the following: Fill all array positions with random integers between 0 and 9 inclusive.

                                Output the array in the format shown in the example below:

                3   4   6        2   6    8       3    5    0                                    Sample                0, 0, 1

                6   4   9        2   1    5       0    7    2       ——>                                                8, 8, 9

                4   6   8        8   2    1       7    4    3                                    Output

                Lastly, after the array is stored, find and output the 3 smallest and the 3 largest integers.