C:\Documents and Settings\ben\Desktop\park>java BenHultinProg4
Month Account # Balance Account #
----- --------- ------- ---------
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
0 10002 2000.0 10003
C:\Documents and Settings\ben\Desktop\park>
Monthly balances for one year with 0.05 annual interest:
// Month Account # Balance Account # Balance
// ----- --------- ------- --------- -------
// 0 10002 2000.00 10003 3000.00
// 1 10002 2008.33 10003 3012.50
// 2 10002 2016.70 10003 3025.05
// 3 10002 2025.10 10003 3037.66
// 4 10002 2033.54 10003 3050.31
// 5 10002 2042.02 10003 3063.02
// 6 10002 2050.52 10003 3075.79
// 7 10002 2059.07 10003 3088.60
// 8 10002 2067.65 10003 3101.47
// 9 10002 2076.26 10003 3114.39
// 10 10002 2084.91 10003 3127.37
// 11 10002 2093.60 10003 3140.40
// 12 10002 2102.32 10003 3153.49
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rajeev Trikha (SCJP 6)
C:\Documents and Settings\ben\Desktop\park>java BenHultinProg4
Month Account # Balance Account # Balance
----- --------- ------- --------- -------
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
0 10002 2000.0 10003 3000.0
C:\Documents and Settings\ben\Desktop\park>
Rajeev Trikha (SCJP 6)
C:\Documents and Settings\ben\Desktop\park>java BenHultinProg4
Month Account # Balance Account # Balance
----- --------- ------- --------- -------
0 10002 2000.00 10003 3000.00
1 10002 2000.00 10003 3000.00
2 10002 2000.00 10003 3000.00
3 10002 2000.00 10003 3000.00
4 10002 2000.00 10003 3000.00
5 10002 2000.00 10003 3000.00
6 10002 2000.00 10003 3000.00
7 10002 2000.00 10003 3000.00
8 10002 2000.00 10003 3000.00
9 10002 2000.00 10003 3000.00
10 10002 2000.00 10003 3000.00
11 10002 2000.00 10003 3000.00
12 10002 2000.00 10003 3000.00
C:\Documents and Settings\ben\Desktop\park>
Don't get me started about those stupid light bulbs. |