Access over 20 million homework & study documents

search

C# VS 2010 BMIS 209 Assignment 6 Banking

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
)
)
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

 !"
#
$"8"
#
$%:
%%:'(#:)
%$:'%$(#
*'$+, (:,$
:, 
)
%$"'-.-%.9-%.%-(8
%'-.-%.-%(
#
:,-
)
%%'(
#
:'(;'(
)
%$$7"'(
#
%7"'(
3'4:8# 8&)4.:(
)
)
)
Program.cs





 !"
#
7
#
$'<=(
#
"<=,>"<?=
< =,>$"'4@2$2A4.A.A .  ?(
<A=,>$"'4@2$2B4.B.B .  !(
<B=,>"'4@22A4.C.C .C (
<C=,>"'4@22A4.?.? .? (
*'"(
#
3'4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4(
3'4&"&6D:"D&8# 8)4."&'((
7"'(
3'(
3'4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4(
3'4E# 8)84.
"&'((

Sign up to view the full document!

lock_open Sign Up

Unformatted Attachment Preview

Account.csusing 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 <= Balance) { ...
Purchase document to see full attachment

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

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4