Customer

Part 1:
Create a data type called customer which has 5 attributes. (Name, Date of Birth, Address, HKID, and Account Balance)Part 2:
Create five objects and set them to the data type Customer. Assign values to the five attributes so that each customer has five pieces of information attached to it.Part 3:
Append the five customers into an array.Part 4:
Include five banking operations in your program: Deposit, Withdrawal, Transfer, Display Bank Balance and New Account.(You could create function and/or procedure subprograms)Part 5:
Use file access technique to update information on each customer in a text file called “CustomInfo.txt”.Part 6:
Error handling.

×
New Download