2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -1,24 +1,20 @@
|
|||
public class MulTable{
|
||||
public static void main(String args[]){
|
||||
int i,j;
|
||||
for(i=1;i<=12;i++)
|
||||
{
|
||||
System.out.print("\t"+i);
|
||||
}
|
||||
public class MultiplicationTable {
|
||||
public static void main(String[] args) {
|
||||
for (int i = 1; i <= 12; i++)
|
||||
System.out.print("\t" + i);
|
||||
|
||||
System.out.println("");
|
||||
for(i=0;i<100;i++)
|
||||
System.out.println();
|
||||
for (int i = 0; i < 100; i++)
|
||||
System.out.print("-");
|
||||
System.out.println("");
|
||||
for(i=1;i<=12;i++){
|
||||
System.out.print(""+i+"|");
|
||||
for(j=1;j<=12;j++){
|
||||
if(j<i)
|
||||
System.out.print("\t");
|
||||
else
|
||||
System.out.print("\t"+i*j);
|
||||
System.out.println();
|
||||
for (int i = 1; i <= 12; i++) {
|
||||
System.out.print(i + "|");
|
||||
for(int j = 1; j <= 12; j++) {
|
||||
System.out.print("\t");
|
||||
if (j >= i)
|
||||
System.out.print("\t" + i * j);
|
||||
}
|
||||
System.out.println("");
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue