I would like to hire a Programmer
- ステータス 終了
- 予算 €8 - €30 EUR
- Total Bids 6
Write a program for a bank. The system will have 3 customers. The user should enter the customer details. The program should allow the user to:
- You must have a Login method which will take the pin form the user. If the pin is valid the program will continue to the menu. If it is not valid it will go back to the login screen.
- The menu should be done in a method. The subscript of the pin used to login should be passed to the menu method.
- Lodge and withdraw will pass the amount to lodge/withdraw to a method which will then return the new balance. The balance should then be updated for the object. The user can only withdraw more than they have in their account if they have an overdraft.
- Change pin will pass the new pin to a method. The method will check that the pin is not already in use for any object. If it is use the user will be asked for a different pin. When the user enters a pin that is not in use the pin will be passed back to the method call and the object can then be updated.
- Use methods for validation.
- The program will only end when the user chooses quit. Quit will call a method to end the program and write all the customer details to a file.
How to create the objects
A customer has a name, address and bank_account
A bank_account has a pin, balance and overdraft.このようなプロジェクトの無料見積もりを取得
Looking to make some money?
- Outline your proposal
- Get paid for your work
- The New York Times
- Wall Street Journal
- Times Online