Assignment 2
The purpose of this assignment is to allow you to flex your programming muscles gained in Programming Concepts 1. It will serve as your final review before we start new material.
You have been asked by your employer, Acme Banking, to create a banking program. Acme is in the midst of a customer drive, so every customer has been given $500 to open an account ...therefore all starting balances are $500.00. Your program must allow the user to either deposit money or withdraw it as well as be able to show current balance. Each transaction should always display the customer's new balance. As safeguards, you will ensure your program will always ask the customer to verify their transaction, not allow a withdrawal or deposit of 0 nor will it allow a customer to overdraw his/her account. You may wish to add other safeguards. You should code appropriate messages when you deny service. The program should continue running until the user indicates he/she wishes to quit.
Style
The purpose of the function main() is only to call other functions. Failure to follow this rule will result in a deduction of up to 10 points (20 percent of grade), depending on the severity of departure of guidelines.
You are required to follow the programming style outlined in Chapters 2-6. Style is very important in the programming world since it helps readability and will aid other programmers in understanding your code. We will follow certain style rules in our class but keep in mind that there are variations found throughout the programming world. The key is to develop a style and then follow it. We will follow a style common to C++ which includes:
Program Name
Your Name
The date the program was completed
Comments describing the purpose of the program
Grading
This program is worth 50 points. Up to 45 points will be awarded based on functionality (the program does what it is suppose to do). Up to 5 points will be based on proper commenting.
Due Date
The program is due by midnight, Monday, Sept 15. Your program should be mailed to my e-mail address, shalfhill@pjc.edu with your program attached. Submission after midnight, according to PJC's system clock, will receive a 20% deduction for missing a deadline.
What do you turn in?
For this assignment you will turn in your program as an attachment. Please include your name, phone and e-mail address that I can contact you if I have problems with the program.
Extra Credit
Up to 7 points extra credit for a flow chart (created in Power Point or some other drawing package). More details in class.
This programming assignment may be corrected or updated. Watch our class website for late breaking details.