Question: C++ please rray%20(3).pdf Banking App SKILL SET: Developing an OOP application using arrays Create an Account class that represents a single person's account at a
C++ please



rray%20(3).pdf Banking App SKILL SET: Developing an OOP application using arrays Create an Account class that represents a single person's account at a bank. It has the following private attributes Name Account number (integer, for example 101) .PIN number (integer) . Balance (amount of money currently in my account) The class must include the following public functions: Default constructor must set balance to 0. Set other attributest to default values of your choice set attributes to given parameters to store and retrieve namee to store and retrieve accouont numberr retrieve the balance (there is no SET for balance) to store PIN number receives a PIN number as parameter, returns TRUE if it matches the PIN in the object Receives amount of money to deposit. If this amount is valid (positive) then add to balance. Otherwise do nothing. No return value Receives amount of money to withdraw. If this amount is valid (positive) then make sure there are funds to cover the withdrawl If so then subtract from balance. If not enough money then print the message "Insufficent funds" and make no changes. No return value Parameterized constructor Set, get for name Set, get for account num getBalance setPIN checkPIN deposit withdraw Make sure to test each of these functions individually first! Create an object and do enough transactions to test all the features and prove everything works! .Multiple deposits continue to increase balance . Negative input for deposit or withdrawl should have no effect Insufficient funds message if balance not enough for withdrawl Now you will create a banking app that uses an array to handle multiple accounts Your application will simulate a bank with multiple accounts Create an array of 5 Account objects (or more if you want) Page 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
