Time remaining:
What is an alternative way to use M in this piece of code?

Computer Science
Tutor: None Selected Time limit: 1 Day

Apr 3rd, 2015

public class FullMultiplicationTable {


    public static void main(String[] args) {


        int tablesize ;

System.out.println("Enter row and column size");

int [][] multiplicationtable=new int[9][9];

       tablesize=rowsize*columnsize; printMultiplicationTable(tableSize);


    }


    public static void printMultiplicationTable(int tableSize) 

{


for (int i=0; i<rowsize; i++)

 {

for (int j=0; i<columnsize; j++) 

{

multiplicationTable[i][j] = i*j;

System.out.println(multiplication table[i][j] +"\t");

}


System.out.println("   ");

    }

}

}


     


Apr 6th, 2015

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Apr 3rd, 2015
...
Apr 3rd, 2015
Dec 9th, 2016
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer