how can i write the 2d array SeatF[7][10] into the text file?
the file have no changes in these codes.Code:int text(int SeatF[7][10]){ int i,j; FILE *fp; fp=fopen("a.txt","w"); for(i=0; i<7; i++){ for(j=0;j<10;j++){ printf("%f",SeatF[i][j]); printf("\n"); } } }