printSquares
Given n, print the square of each integer from 1 to n, one per line, using System.out.println. This method returns nothing — it's graded on what it prints, not on a return value.
Given n, print the square of each integer from 1 to n, one per line, using System.out.println. This method returns nothing — it's graded on what it prints, not on a return value.