Question: using C++ Exercise 9A - Print Array The objective of this Exercise is to gain experience with filling and printing a numeric array. Design a

using C++
Exercise 9A - Print Array The objective of this Exercise is to gain experience with filling and printing a numeric array. Design a program to process several sets of data. For each data set, the program should read in the numbers, store them in an array, and then print the numbers twice: first in the order read in (first to last), then in reverse order (last to first) The program should be general enough to handle multiple sets of data of differing lengths. You will need an input value for the number of data sets to process. You can design for this with nested looping You will need an input value for the size of each data set (i.e. the number of numbers in the data set) Using pseudocode for illustration, your program should do the following Request the user to supply how many data sets to input - for example, call this nsets For nsets iterations Request the user to supply how many numbers are in this data set for example call this ncount For ncount iterations For ncount iterations For ncount iterations Input the data set values Print the data set values in order read in Print the data set values in reverse order Dimension an array to hold at least 50 elements. You only need one array, and will reuse that array for reading each set of data. For simplicity, you may use an integer array You may use screen or file as your input source. Use good formatting, and appropriate labeling-. Submit your program using two sets of data: 0 24 6 8 101197531 and 01234 Here are portions of sample output your program information in one window should contain both of these outputs as well as other pertinent The data input for this set is: 12 02468 10 1197531 Specified data set size is 12 Data set in order entered 0 2 46 8 10 11 9 7 5 31 Data set in reverse order 1 3 5 9 11 1 8 6 4 2 The data input for this set is: 5 01 234 Specified data set size is 5 Data set in order entered Data set in reverse order
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
