Question: ) [6 marks] Create two BankAccount objects with the following details: ac1: account number: 1000, account holder: John Smith, balance: 2187.30 ac2: account number: 2000,
) [6 marks] Create two BankAccount objects with the following details: ac1: account number: 1000, account holder: "John Smith", balance: 2187.30 ac2: account number: 2000, account holder: "Jan Doe", balance: 7109.87 Then transfer 500 dollars from ac1 to ac2 and then print out the balance left in each account
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
