CSC409 Advanced Java Programming

Advanced Java ProgrammingTU Board 2080

Suppose that 9 integers are written in a file named "magic.txt" in the arrangement of 3 × 3 separated by space. Write a program to check whether the integers in all rows, all columns, and both…

5

Suppose that 9 integers are written in a file named "magic.txt" in the arrangement of 3 × 3 separated by space. Write a program to check whether the integers in all rows, all columns, and both diagonals sum to the same constant or not.

A worked answer is on its wayMeanwhile, read the Advanced Java Programming notes for this topic.

Discussion

Loading…

More Advanced Java Programming questions

All Advanced Java Programming old questions