Class:   Comp 170

Programming Assignment 1

Due:     Sept 23 at class time

 

Your assignment is to produce a loan amortization and summary details.  An example and details of this type of calculation can be found at Bret's Amoritization. 

 

Program Input:

·        Principal

·        Annual Interest Rate

·        Payments per year

·        Number of Payments

 

Summary Program Output:

·        Periodic Interest Rate

·        Regular Payment Amount

·        Total Repaid

·        Total Interest Paid

·        Interest as percentage of Principal

 

Table Program Output:

Payment

Principal

Interest

Cum Prin

Cum Int

Prin Bal

1

67.09

666.67

67.09

666.67

99932.91

2

67.54

666.22

134.63

1332.89

99865.37

3

67.99

665.77

202.62

1998.66

99797.38

4

68.44

665.32

271.06

2663.98

99728.94

5

68.90

664.86

339.96

3328.84

99660.04

6

69.36

664.40

409.32

3993.24

99590.68

7

69.82

663.94

479.14

4657.18

99520.86

8

70.29

663.47

549.43

5320.65

99450.57

9

70.76

663.00

620.19

5983.65

99379.81

10

71.23

662.53

691.42

6646.18

99308.58

11

71.70

662.06

763.12

7308.24

99236.88

12

72.18

661.58

835.30

7969.82

99164.70

 

 

 

 

 

357

714.47

19.29

97821.02

164131.30

2178.98

358

719.23

14.53

98540.25

164145.83

1459.75

359

724.03

9.73

99264.28

164155.56

735.72

360

728.86

4.90

99993.14

164160.46

6.86

361

* 6.86

0.05

100000.00

164160.51

0.00