Hi could someone please helping in starting this program? I am not asking anyone to do my work for me i just want to know how i can start the program and steps to follow please( i am new to c++) thanks
write a program that reads an n*n matrix file in the form(for the 2*2 case)
and then overwrites this file by replacing each element by the average of its four adjacent elements(right,left,up and down). The first line of the file indicates the number of row and column elements of the matrix. If an adjacent element is outside the matrix boundary, its value is taken to zero. You can close and open the file more than once.