Question: 1 4 9 16 25 36 49 64 81 100
My answer:
for (int i = 1; i < 11; i++) {
int temp = i*i;
System.out.println(temp);
}
Comments:
Type: Posts; User: ChristopherLowe
Question: 1 4 9 16 25 36 49 64 81 100
My answer:
for (int i = 1; i < 11; i++) {
int temp = i*i;
System.out.println(temp);
}
Comments:
...
for (int i = 1; i < 11; i++) {
int temp = i*i;
System.out.println(temp);
}
public class WhatIsYourQuestion {
public static void main(String[] args) {
System.out.println("1");
System.out.println("4 9");
System.out.println("16 25 36");
...