на java
public class Prog {
public static void main(String[] args) {
for (int i = 1000; i >= 1; i--) {
System.out.println(i + " * " + i + " = " + i * i);
System.out.println(i + " * " + i + " * " + i + " = " + i * i * i);
System.out.println();
}
на java
public class Prog {
public static void main(String[] args) {
for (int i = 1000; i >= 1; i--) {
System.out.println(i + " * " + i + " = " + i * i);
System.out.println(i + " * " + i + " * " + i + " = " + i * i * i);
System.out.println();
}
}
}