
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Make a class name BankAccount in which you should declare four instance variables userName, userAccontNo, phoneNo and banlance. Create an array of Bank and take input for bankaccounts. Then display information for all accounts class BankAccount { public: //access specifies //instance variables userName; userAcountNo; phoneNo, balance; } class BankAccount { private: //access specifies //instance variables userName; userAcountNo; phoneNo, balance; }