Computer Science, asked by agrimaagravatb, 1 month ago


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 neelamvikassinp9w54o
1

Answer:

hope it helps.....................!!

Attachments:
Similar questions