This is my problem. I am taking a class that is designed to be an independant study and the book only touches on the surface of the ideas covered. this code is a project that i am stuck on and cant really find any help anywhere else so i am hoping that someone can help me figure out what is wrong and what is missing. this is supposed to take a 3X3 array of numbers and add them into colums and rows on the 4th row and line, then have a sum in [4][4]. i know the code is missing the 4th colum (which i am kinda confused on how it should be written) and also, the program is summing the 4th row then re-adding it to the total (basically doubling the solution). i will ve extremely greatful for any and all help on this. thank you.

```
#include <stdio.h>
#include "stdafx.h"
int
main(void)
{
int array[4][4]={0};
int i, j;
int sum;
printf (
"Please enter the numbers you wish to be added (with a space between each number)\n");
printf (
"when all numbers are entered, press enter to \n calculate each row and columns totals\n");
for
(i = 0; i < 3; ++i)
for
(j = 0; j < 3; ++j)
scanf_s("%d", &(array[i][j]));
for (i = 0; i < 4; ++i){
for (j = 0; j < 3; ++j)
{array[3][j]+= array[i][j];
printf("%d\t",array[i][j]); }
printf("\n");}
return 0;
}
```