//The SquaresCubes program prints a table containing the integers from 1 to 25 and their
//squares and cubes (using two methods of the appropriate names to do so).

import java.io.*;

class SquaresCubesGenerator {
   public static void main (String[] args) throws IOException {

   for (int counter=1; counter<=25; counter++)
        {        
        square(counter);
        cube(counter)
        }

       System.out.println("Enter a whole number:");


    public int square(int number)
        {
	    return (number*number)
        }

    public int cube(int number)
        {
	    return (number*number*number)
        }


	}//main
}//SquaresCubesGenerator class