Try this exercise to practice escape characters and print methods.
Create a file called Receipt.java.
Inside main, print a receipt that looks like this in the terminal:
===== RECEIPT =====
Item Price
Coffee .50
Bagel .00
===================
Total: .50
Use \t for tab alignment between columns.
Use \n or separate println calls for each line.
Compile with javac Receipt.java and run with java Receipt.
If the columns don't line up, check that each \t is in the right position. Tabs align to fixed stops, so shorter text before a tab will still line up with longer text.