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.
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-52687.pdf
Comments
Leave a comment