/* HoleInSea.java ** Java program that prints the lyrics of an abbreviated version of the ** cumulative song "There's a Hole at the Bottom of the Sea". ** ** CMPS 134 Fall 2022 Prog. Assg. #1 ** Author: R. McCloskey ** Collaborated with: no one ** Known Flaws: none */ public class HoleInSea { /* Prints the lyrics of the entire song. */ public static void main(String[] args) { // Verse 1: System.out.println("There's a hole at the bottom of the sea"); System.out.println("There's a hole at the bottom of the sea"); System.out.println("There's a hole"); System.out.println("There's a hole"); System.out.println("There's a hole at the bottom of the sea"); System.out.println(); // Verse 2: System.out.println("There's a log in the hole at the bottom of the sea"); System.out.println("There's a log in the hole at the bottom of the sea"); System.out.println("There's a log"); System.out.println("There's a log"); System.out.println("There's a log in the hole at the bottom of the sea"); System.out.println(); // Verse 3: System.out.println("There's a bump on the log in the hole at the bottom of the sea"); System.out.println("There's a bump on the log in the hole at the bottom of the sea"); System.out.println("There's a bump"); System.out.println("There's a bump"); System.out.println("There's a bump on the log in the hole at the bottom of the sea"); System.out.println(); // Verse 4: System.out.println("There's a frog on the bump on the log in the hole at the bottom of the sea"); System.out.println("There's a frog on the bump on the log in the hole at the bottom of the sea"); System.out.println("There's a frog"); System.out.println("There's a frog"); System.out.println("There's a frog on the bump on the log in the hole at the bottom of the sea"); System.out.println(); // Verse 5: System.out.println("There's a tail on the frog on the bump on the log in the hole at the bottom of the sea"); System.out.println("There's a tail on the frog on the bump on the log in the hole at the bottom of the sea"); System.out.println("There's a tail"); System.out.println("There's a tail"); System.out.println("There's a tail on the frog on the bump on the log in the hole at the bottom of the sea"); } }