Let's get started with a program that uses a try/catch conditional!
Open Eclipse
Right-Click on your edu.buffalostate.cis425.fa10.exercises..your-username
Choose: File -> New -> class
In the Name: textbox type: TryCatch
Click: Finish
Copy the TryCatch.java Template (Java) code (below)
Paste that code into your new TryCatch class in the editor
Change both occurrences of put-your-username-here
Replace blank on after the: years = scan.nextInt();
with these lines: interest = principal * rate * years;
total = principal + interest;
payment = (total / years) / 12;