Вы находитесь на странице: 1из 1

1) Customer account number

2) Customer inital amount


3) Customer account balance
4) Customer credit limit
5) Customer charged amount
6) Credit limit by to the customer.
1) Initialize variables
Set the credit limit to the customer 1000
inintalize account balance
inintalize charges
2) Enter the customer Number
3) if customer number not available
create new customer number
Allow the customer to enter the initial amount
add the inital amount to account balance
allow the customer to enter te credit amount
minus the acc balance+charges with credit amount of the customer
if(balance is negative)
credit limit is exceeded
else
balance
else
allow the customer to enter te credit amount
minus the acc balance+charges with credit amount of the customer
if(balance is negative)
credit limit is exceeded
else
balance

Вам также может понравиться