Вы находитесь на странице: 1из 1

Bahria University, Islamabad Campus

Department of Computer Sciences


Lab Journal 3
(Fall 2019 Semester)

Course: Visual Programming Lab Date: 26-9-19


Course Code: CSL 313 Max Marks: 10
Faculty’s Name: Ali Mirza Time: 120 mins

Student’s Name: _____________________________Enroll No: _______________________


(USE CAPITAL LETTERS)

My Virtual Bank
Simulate a Virtual Bank just like traditional Banking using OOP concepts and C# Console
Application. Implementation details are as follows;
a) Write an abstract class Account with attributes {accountNO, accountTitle, CNIC,
balance}
b) Inherit two classes from Account Class
1. CurrentAccount with an attribute {withdrawalLimit},
2. SavingAccount with an attribute {profitPercentage};
c) Program should allow user to open a new account with all information of an account holder
along with account type. (CRUD Operations)
d) There must be Manager class which will be performing CRUD Operations.
e) Enable an account holder to perform transactions such as withdrawal and deposit on his
account.
f) Deposit on CurrentAccount will increase withdrawalLimit with 5% of total deposit.
g) Deposit on SavingAccount will increase 2% profitPercentage.
h) Withdraw will do the reverse.
i) Validate your all inputs; specially for withdrawal and deposit.
j) Make sure you do not mix your user interface code (in this example Printing Information and
Input from console) with your other classes code.

k) Store account information in text files


l) Use ArrayList from System.Collections for CurrentAccount and List<> from
System.Collections.Generics for SavingAccount.
m) Restrict an account holder to withdraw up to Rs. 50,000 PKR worth of cash transaction per
day with total transactions limited to 5.
n) Design reports for transactions.
o) Your program should be menu based, should ask user for appropriate options to perform all
different tasks.
p) For the Account Holder, provide a complete functionality of ATM. Make sure Account holder
is able to perform deposit and withdraw on his account after validating the PIN on ATM. (also
discussed in point ‘e’)
q) Transaction record must be saved in a separate file called “Transactions.txt”.

Вам также может понравиться