klasscho

Untitled

Nov 25th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. public class Main {
  2. public static void main(String[] args) throws Exception {
  3. int [][] Matrixx;
  4. float [] Arr;
  5. int Rows, Cols;
  6. String FileNameIn, FileNameOut;
  7. Rows = MatrixRowSize(FileNameIn);
  8. Cols = MatrixColSize(FileNameIn);
  9. Matrixx = new int[Rows][Cols];
  10. Rows--;
  11. Cols--;
  12. ReadFromFile(Matrixx, FileNameIn, Rows, Cols);
  13. System.out.println();
  14. System.out.println("Given matrix::");
  15. MatrixOutput(Matrixx, Rows, Cols);
  16. Arr = Average[0];
  17. System.out.println("The result after addition:");
  18. WriteToFile(matrix, FileNameOut, RowEnd, ColEnd);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment