Access over 20 million homework & study documents

C# VS 2010 BMIS 209 Assignment 6 Banking

Content type
User Generated
Type
Lab
Rating
Showing Page:
1/4
Account.cs





 !"
#
"
#
$%
$"&
$"&%
%%'(#)
%$'%$(#
*'$+,  (,$
, 
)

%"&'(#"&)
%$"&'$(#"&,$)
%"&%'(#"&%)
%$"&%'$(#"&%,$)
%"'-.-%.%-%(
#
"&'-(
"&%'-%(
'-%(
)
%$$'%-(
#
/,-
)
%$%0%'%-(
#
*'-1,(
#
2,-

)
3'4564(

*
)
%$$7"'(
#
3'4"&8# 8)4."&(
3'4&%8# 8&)4."&%(
3'48# 8)4.(
)


Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/4
)
)
CheckingAccount.cs





 !"
#
"8"
#
$%6
%%6'(
#
6
)
%$6'%$(#
*'$+, (6,$
6, 
)
%"'-.-%.9-%.%-*(8
%'-.-%.-%(
#
6'-*(
)
%$$'%-(
#
%'-(
%0%'6(
)
%$%0%'%-(
#
*'%0%'-((
%0%'6(
*
)
%$$7"'(
#
%7"'(
3'468# 8)4.6(
)
)
)
SavingsAccount.cs





Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/4

Sign up to view the full document!

lock_open Sign Up
End of Preview - Want to read all 4 pages?
Access Now
Unformatted Attachment Preview
Account.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSBMIS05BankAccount { class Account { private double Balance; private string AccountName; private int AccountNumber; public double getBalance() { return Balance; } public void setBalance(double value) { if (value >= 0.0) Balance = value; else Balance = 0; } public string getAccountName() { return AccountName; } public void setAccountName(string value) { AccountName = value; } public int getAccountNumber() { return AccountNumber; } public void setAccountNumber(int value) { AccountNumber = value; } public Account(String p_name, int p_number, double p_balance) { setAccountName(p_name); setAccountNumber(p_number); setBalance(p_balance); } public virtual void Credit(double p_amount) { Balance += p_amount; } public virtual bool Debit(double p_amount) { if (p_amount ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Really helped me to better understand my coursework. Super recommended.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Documents