|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I'm suppose to create a program for a commercial bank.
The program should start with the following menu: Press 1. To add new customer 2. To carry out a transaction 3. To exit If the user selects 1 the program should ask for name, address, telephone number and the amount depositing. If the user selects 2 he is given another menu. Press 1. For Withdrawal 2.For Deposit 3. For Enquiry If the user selects 1 which is withdrawal, he/she should ask the user for their customer no. and the amount to withdraw. If the user select 2 which is deposit ask the user for customer number and the amount to deposit. If the user selects 3 ask for the customer number and print the customers balance. After each transaction print the users balance. This is what i have so far: c Code:
I am having problems with assigning customer numbers and also in printing the balances. Last edited by Jaan; 04-01-2008 at 12:11 AM. Reason: Use tags when you're posting your codes! |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
| Xav | ........ | 1276.19 |
| MeTh0Dz|Reb0rn | ........ | 1048.58 |
| marwex89 | ........ | 869.98 |
| morefood2001 | ........ | 868.04 |
| John | ........ | 865.15 |
| WingedPanther | ........ | 761.06 |
| Brandon W | ........ | 684.87 |
| chili5 | ........ | 294.12 |
| Steve.L | ........ | 216.18 |
| dargueta | ........ | 192.86 |
Goal: 100,000 Posts
Complete: 81%