Question: Need help completing this c++ problem. #include //cin,cout #include //setw(10) using namespace std; //User Libraries Here //Global Constants Only, No Global Variables //Allowed like PI,
Need help completing this c++ problem.

#include
#include
using namespace std;
//User Libraries Here
//Global Constants Only, No Global Variables //Allowed like PI, e, Gravity, conversions, array dimensions necessary const int COLMAX=80; //Max Columns much larger than needed.
//Function Prototypes Here void read(int [][COLMAX],int &,int &);//Prompt for size then table void sum(const int [][COLMAX],int,int,int[][COLMAX]);//Sum rows,col,grand total void print(const int [][COLMAX],int,int,int);//Either table can be printed
//Program Execution Begins Here int main(int argc, char** argv) { //Declare all Variables Here const int ROW=80; //Max Rows much larger than needed int array[ROW][COLMAX]={}; //Declare original array int augAry[ROW][COLMAX]={}; //Actual augmented table row+1, col+1 int row,col; //Input the original table read(array,row,col); //Augment the original table by the sums sum(array,row,col,augAry); //Output the original array cout Task->Implement the functions specified. ) Input the rows and column of a table, then input the table. 2) Create a new table augmented by 1 row and 1 column. The augmented table has the row sums in the new column and the column sums in the new row. The grand sum is in the lower corner of the table
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
