Write a program in a cpp file called [url removed, login to view] that declares an array alpha of 50 components of type double.
Create a function called InitializeArray() that initialize the array so that the first 25 components are equal to the square of the index variable, and the last 25 components are equal to three times the index variable.
Next create a function called OutputArray() that output the array so that 10 elements per line are printed.
Once you output the array, ask the user for a number and a letter. Create a function called FindMult(), that used the number to find all the multiple in the array that was print above and beside each of the multiple of the number print the letter. With a tab between each value
<New Screen Shot>
(40pts) Write a program in a cpp file called [url removed, login to view] that involves writing a C++ program that produces a multiplication table in two dimensional array. The first row consists of the multipliers and while the first column consists of the multipliers.
For instance, if the user type in 6 for n, the multiplication table should look like the output below:
The value of n should be obtained from a user, but by default it may be
initialized to 10.
1. Create a two dimensional array of integer data type with generous space,
for instance, the default should be initialized to 10x10.
2. Prompt a user for n. If the user value is less than zero or above your
multidimensional array 10, then prompt the user for another proper value.
int GetArrayTableSize(int & UserInput);
3. Populate the multidimensional array with the multiplication table.
void PopulateArray(int, int row, int col, int UserInput)
4. Print the multidimensional array
void PrintArray(int, int row, int col, int UserInput)
5. Save the multidimensional array into a file called "[url removed, login to view]".
void SaveArralToFile(int, int row, int col, int UserInput)