Home > Back-end >  Java jiujiu multiplication tables
Java jiujiu multiplication tables

Time:11-16

System. The out. Print (j + "*" + I + "=" + (I * j) + "\ t");
What output
Need to explain

CodePudding user response:



Is not output jiujiu multiplication table
Format: n * n=x
Output interval escape \ t

For (int I=1; i<10;) {
For (int j=1; j<10 {
System. The out. Print (j + "*" + I + "=" + (I * j) + "\ t");
}
System. The out. Print (" \ n ");
}

CodePudding user response:

Still have a plenty of, this is the DELPHI BBS, it is estimated that the building Lord to send the wrong place

CodePudding user response:

 
1 * 1=1
1 * 2=2 * 2=4
1 2 * 3 * 3=3=3 * 3=6 to 9
1 * 4=4 and 2 * 4=8 3 * 4=12 4 * 4=16
1 * 5=5 2 * 5=3 * 10 4 5=15 * 5=5 * 5=20
1 * 6=2 * 6=12 3 * 6=18 4 * 6=24 5 * 6=30 * 6=36
1 * 7=7 14 3 * 2 * 7=7=21 April 28 5 * 7 * 7==35 6 * 7=42 7 * 7=49
8=1 * 3 * 2 * 8=16 8 August 24 32 5 * 4 * 8==8=40 6 7 * 8 * 8=48=56 8 * 8=64
1 * 9=9 18 3 * 2 * 9=9=27 4 5 * 9 * 9=36=45 6 * 9=54 7 63 8 * 9 * 9==72 9 * 9=81

Public static void main (String [] args) {
for(int i=1; i<=9; I++) {
For (int j=1; j<=I; J++)
System. The out. Print (j + "*" + I + "=" + (I * j) + "\ t");
System.out.println();
}
}
  • Related