QR6 - for (int j = 0; j<10; j++){ csums [i] =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// The "QR6" class. public class QR6 { public static void main (String[] args) { double [] [] table = new double [10] [20]; double [] csums = new double [table [0].length]; d for (int i = 0 ; i<table[0].length; i++){
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for (int j = 0; j&lt;10; j++){ csums [i] = csums[i] + table [j][i]; } System.out.println (csums [table[0].length]); } System.out.println (table [0].length ); } // main method } // QR6 class...
View Full Document

Ask a homework question - tutors are online