Você está na página 1de 3

November 12, 2010

Introduction to Programming Language (INFR 1100U)


Final Project
Due Date: 8:00 p.m., December 9, 2010

Program evaluation Criteria


1. Program design correctness: [ 20% ]
2. Proper commenting and documenting: [ 10% ]
a. your code is commented, has a header section that shows the
author, date and the assignment that it belongs to. It
further describes the purpose of the program.
b. In your code, use comments to explain the purpose of the
variables declared, and the intention with each, or almost
each line of your code.
3. Compilation: [ 10% ] your code compiles without error .
4. Execution and output: [ 40% ] your code is executable, does not
crash and produces the expected output.
5. Code appearance and appropriate indentation: [ 10% ] your code
must be properly formatted. Matching pairs of {} are in the same
column, code in the main function is uniformly indented to
enhance readability, sections of code that belong together are
visually set apart from other parts. As an example, you should
leave an empty line after the variable declaration).
6. Modular design: [ 10% ]

- All submissions must be submitted through the WebCT system.

Learning Objectives of the Project

In this project, students will learn to work with files (streams), structures, arrays and arrays of
structures, and definitely teamwork.

Group Work
Students are supposed to work in groups of 2 or 3 members. If you have any problem finding
group members, please contact me.

1
Description of the Project
You are hired to develop a bank management system. The system should provide the
following features:
1. Open new account
2. Deposit amount
3. Withdraw amount
4. Display an account
5. Modify an account
6. Close an account
7. Exit

1-Open an account:
A new account is opened with the following details of the customer:
• Name
• Address
• Initial deposit amount
The system should generate a unique account number.

2-Deposit:
Deposition should be done each time the customer deposits a particular amount into an
account. Deposition is done in the account after receiving the following details.
• Account number
• Amount to deposit

3-withdrawal:
Using this withdrawal module, the user can withdraw a particular amount from an account.
Withdrawal can be done after getting the following details:
• Account number
• Amount to be withdrawn

4-View detail of an account:


Using this module the user can view all transactions associated with an account. It can be
done after getting the following details:
• Account number
5-Modify an account:
This module is used to modify an account. This is done after receiving the account number.
Then the corresponding name and address are modified.

2
6-Close an account:
This module is used to close an account. This is done after receiving the account number.
Then the corresponding account is closed.

Notes:
Once started, your program should read the data from files, and fill array of structures. When
the user asks to exit the program, all the text files would be replaced with the content of the
arrays.
You are expected to do error checking. For example, if the amount to withdraw is higher than
the balance, an error message should be displayed.

Project Submission
Please note that:
- Each group should submit only the code file (.cpp file) for the project and the data
files.
- One and only one member of each group should submit the assignment, which
should list the names of all group members.

Você também pode gostar