Monday, 31 March 2014

Coding: Bank Program #1


Screenshot of a section of program:
















Evaluation:

Instructions: 
Write a program for a simple bank. The bank only has one customer and the customer has only one account. The customer needs to be able to withdraw and deposit money. This is the minimum required.

Remember to
  • comment your code.
  • Give the proper feed back to the customer. e.g if he/she withdraws money and there is insufficient funds, inform the customer.
  • Think of error scenarios. e.g invalid input.

Mark 9 out of 10.   
-1 because the program did not terminate or give the user an option to terminate.

Well done!

No comments:

Post a Comment