I am new to grids. Anyone please post the source code for this problem. Please use C language. Because I know only C.