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

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Apr 3rd, 2015
...
Apr 3rd, 2015
Mar 24th, 2017
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