Question: #include using namespace std; // Global area & function prototypes // declare an integer constant named COLUMNS and initialize to 3 void getValues(int[][],int); void printArray(int[][],int);
#includeusing namespace std; // Global area & function prototypes // declare an integer constant named COLUMNS and initialize to 3 void getValues(int[][],int); void printArray(int[][],int); void personalInfo(); int main(){ // declare an integer constant named ROWS and initialize to 3 // declare a two-dimensional intege array named twoDim // use the two constants respectively for the array's size // call the method getValues and enter the following values // 25, 85, 1, 36, 100, 3, 45, 76, 22 // cal the method to print the array's values // call the method to print your personal info return 0; } // sets the value for each element in the two-dimensional array // by prompting the user for a value void getValues(int[][],int,){} // prints the contents of the array in a table-like manner // Starts with the phrase "The contents of the array are: " // set so each value is printed aligned to the right in a 5 space field void printArray(int[][],int){} // this method prints the phrase // "Program developed by [YOUR NAME], ID#[YOUR ID NUMBER]" // where the square brackets and the text within is substitued with // your personal information. void personalInfo(){}
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
