1. pretty print program takes a program that may not be indented in any particular way and produces a copy with the same program indented so that bracket pairs ({ and }) line up with inner pairs indented more than outer pairs (as we have been doing throughout the book). Write a program that reads a Java program from one text file and produces a pretty print version of the program in a second text file. To make it easier, simply do this for each method, ignoring the things outside of the methods.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here