Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) throws Exception {
- int [][] Matrixx;
- float [] Arr;
- int Rows, Cols;
- String FileNameIn, FileNameOut;
- Rows = MatrixRowSize(FileNameIn);
- Cols = MatrixColSize(FileNameIn);
- Matrixx = new int[Rows][Cols];
- Rows--;
- Cols--;
- ReadFromFile(Matrixx, FileNameIn, Rows, Cols);
- System.out.println();
- System.out.println("Given matrix::");
- MatrixOutput(Matrixx, Rows, Cols);
- Arr = Average[0];
- System.out.println("The result after addition:");
- WriteToFile(matrix, FileNameOut, RowEnd, ColEnd);
- }
Advertisement
Add Comment
Please, Sign In to add comment