import java.util.Scanner; /** Oct 10: fix using printf and also do files with employee pgm **/ public class TableofSquares { /** This class prints a table of the numbers from 1 to 10 * and their squares. * 1 1 * 2 4 * 3 9 */ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("What's the highest value you want in the table?"); int limit = scanner.nextInt(); for (int i=10; i<=limit; i++) { System.out.println(i + " " + i*i); } for (int i=0; i