In C++ create a BankAccount class which lets the account owner to deposit and withdraw money using a password
Criteria
- There should be no default constructor.
- There should be only one constructor, which takes in the initial balance in dollars, and the password. The password is an integer, most likely 4 digits, but we won’t enforce that limit here (which means it can even be negative). The initial amount, however, must not be negative, if it is negative, set it to $0.00 by default. Your BankAccount class should be able to…