1. Define the class bankAccount to store a bank customer’s account number (int) and balance (double).
2. Your class should, at least, provide the following operations:
a. set the account number,
b. retrieve the account number,
c. retrieve the balance,
d. deposit money,
e. withdraw money,
f. print account information
3. Add a constructor with default parameters.
Comments
Leave a comment