GalToLit.java

This is the Try This 1-1 exercise on pages 20–21 in Chapter 1 of the Java: A Beginner’s Guide textbook.