< / a>< / div>
public class Table {
الفراغ العام الثابت الرئيسي (String[] args) {
System.out.print("X*Y\t| ");
for(int x = 0 ; x <= 10; x++)
System.out.print(x+"\t");
System.out.println ();
for(int x = 0 ; x <= 10; x++)
System.out.print("=========");
System.out.println ();
for(int x = 0 ; x <= 10; x++){
System.out.print(x+"\t| ");
for(int y = 0 ; y <= 10; y++){
System.out.print(x*y+"\t");
}
System.out.println();
}
}
} < / قبل >< / div>