Open main menu
Home
Random
Log in
Settings
About MyWikiBiz
Disclaimers
MyWikiBiz
Search
Changes
← Older edit
Directory:Derek Elder/Programs/CheckingAccount3
(view source)
Revision as of 00:47, 11 December 2008
60 bytes removed
,
00:47, 11 December 2008
Modifications
Line 173:
Line 173:
{
{
private float balance;
private float balance;
−
private float totalServiceCharge;
//Changed from double
+
private float totalServiceCharge;
private int transCount;
private int transCount;
private Transaction[] tList;
private Transaction[] tList;
Line 221:
Line 221:
return totalServiceCharge;
return totalServiceCharge;
}
}
−
public CheckingAccount()
//Needed?
+
public CheckingAccount()
{
{
balance = 0;
balance = 0;
Line 295:
Line 295:
{
{
int tCode = 0;
int tCode = 0;
−
String stringBalance, stringTCode, stringTransAmt, message;
+
String stringBalance, stringTCode, stringTransAmt, message;
float balance, transAmt, charge, balanceBeforeCharge;
float balance, transAmt, charge, balanceBeforeCharge;
//boolean done = false;
//boolean done = false;
Line 446:
Line 446:
JOptionPane.showMessageDialog(null, message);
JOptionPane.showMessageDialog(null, message);
//done = true;
//done = true;
−
System.exit(0);
//Modify to window listener?
+
System.exit(0);
}
}
}
}
Derek Elder
123
edits