public class ParillisetPotenssit{ public static void main(String args[]) { for (int i=1, j= 0; i<=10; i++, j+=2) { System.out.println( i + " potenssiin " + j + " = " + Math.pow(i,j)); } } }