Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

Commit

Permalink
.out file as proof of source run for professor to read.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzacsh committed Dec 8, 2010
1 parent ebf5efc commit 96a4081
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions hw/1221/Account12.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
~$ javac Account12.java && java Account12

Jonathan Zacsh <jzacsh@gmail.com>; COMP-171-801RL
pg 256; que. #7.3; due: 12/21 (lab# 12)

This is a very basic class for managing a bank account.
Below is a proof of concept run of new object
using Account12 class. Current time is:
Wed Dec 08 01:41:18 EST 2010
::creating object with the following test data:
::account id: 93024
::account balance: $380.32
::annual interest rate: 5%

::Running test of accessor functions:
:: account id: 93024
:: account balance: $380.32
:: annual interest rate: 5%
:: monthly interest rate: 0.4167%
:: account creation date: Wed Dec 08 01:41:18 EST 2010

::Running test of mutator functions and immediately calling accesors:
:: setting account id to: 435232
:: new account id: 435232
:: setting account balance to: $498.92
:: new account balance: $498.92
:: setting annual interest rate to: 3%
:: new annual interest rate: 3%
:: new monthly interest rate: 0.2500%

::Running test of basic class methods:
:: (current balance is: $498.92)
:: balance based on widthdrawal of $23.20, would be:: $475.72
:: balance based on deposit of $89.02, would be: $564.74

0 comments on commit 96a4081

Please sign in to comment.