Design class called Bank with the following descriptions
Data members:
name: to store the name of the depositor
acno:to store the
accound number
type: to store type of the account
bal: to store
the balance
Amount in the account
Member function:
initialise ( ):to assign the data members with any value
depo (int a) where a is the
Amount to be
Deposited & the variable bal is
the updated
with draw (int a) :
Where a is the amount to be withdrawn
after checking the balance ( Minimum
balance should be 1000) & the variaule
bal is to be updated
print (): to print all the details
write the main method to create.
the object of class & call the above
method
Answers
Answered by
1
Answer:
hope it helps.....................!!
Attachments:
Similar questions
Math,
16 days ago
Math,
16 days ago
Social Sciences,
16 days ago
History,
1 month ago
English,
1 month ago
Psychology,
9 months ago
Math,
9 months ago