/************************************************** * Author: Morrison * Date created: 1 Sep 2020 * Date last modified: 1 Sep 2020 **************************************************/ public class BadBreath { public BadBreath() { } public static void main(String[] args) { for(int k = 0; k < 5; k++) { int y = k*k; System.out.printf("The square of %s is %s.\n", k, y); } System.out.println(y); } }