Computer Science, asked by bharamsavali, 7 months ago

WAP to declare a class ‘Account’ having data members as Account no. and balance .Accept this data for 10 accounts and give interest of 10% where balance is equal or greater than 5000 and display them.

Answers

Answered by Anonymous
0

Answer:

Define a class to represent a bank account which includes following members : Data members – 1)Name 2)Account number 3)Type of account 4)Bal. amt Member functions – a.To assign initial value b.To deposit an account c.To withdraw an account d.To display name, account number & balance.

Similar questions