Professional Documents
Culture Documents
Coding:
///////////////////////////////////////
////////////////////////////////////////
//
ALL STUDENTS COMPLETE THESE SECTIONS
// Title:
Project1
// Files:
java.util.Scanner
// Semester:
//Fall 2015
//
// Author:
Adam Melaku
//Email:
Aam131630
// CS Login:
Aam131630
// Lecturer's Name: Professor Sohaee
// Course Section:
003
//
//////////////////// STUDENTS WHO GET HELP FROM OTHER THAN THEIR
PARTNER //////
//
fully acknowledge and credit all sources of help,
//
other than Instructors and TAs.
//
// Persons:
None.
//
// Online sources:
None.
//////////////////////////// 80 columns
wide //////////////////////////////////
import java.util.Scanner;
public class loansProject {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double loanAmount;
double numberofYears;
//declare variables
Testing:
There were initial syntax errors when I first ran the program but it was easily
corrected when I went back and saw I forgot a letter on certain lines (human error).
When everything was done the program ran properly but I felt like I needed to work
on the spacing of my output for the title lines (Interest Rate, Monthly Rate, and Total
Payment) After worked on my spacing I was satisfied with my program.