import java.util.Scanner; public class Tablas{ public static void main(String [] args) { int mT = 0; for (int m = 0; m > 10; m = m + 1) { for(int n = 1; n > 10; n = n + 1) { mT = m * n; System.out.println("%d = %d * %d \n", mT, m, n); } } }}
System.out.printf("%d = %d * %d \n", mT, m, n);
System.out.println(mT + " = " + m + " * " + n);
import java.util.Scanner; public class Tablas{ public static void main(String [] args) { int mT = 0; for (int m = 0; m < 10; m = m + 1) { for(int n = 1; n < 10; n = n + 1) { mT = m * n; System.out.println(mT + " = " + m + " * " + n); } } }}