Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.73K
~19.0K People Reached
Favorite Forums
Favorite Tags
java x 1

1 Posted Topic

Member Avatar for Sunshineserene

double[][] matrix = new double[1000][1000]; int x=0, y=0; try { BufferedReader in = new BufferedReader(new FileReader("C:\\Users\\lamichhane ba\\Desktop\\test.txt")); //reading files in specified directory String line; while ((line = in.readLine()) != null) //file reading { { String[] values = line.split(","); for (String str : values) { double str_double = Double.parseDouble(str); matrix[x][y]=str_double; System.out.println("Matrix["+x+"]["+y+"]"+matrix[x][y]); …

Member Avatar for Red_2
-2
19K

The End.