Professional Documents
Culture Documents
Case Study 2 - Credit Card
Case Study 2 - Credit Card
MAIN MENU
[1] New Credit Account
[2] Purchases
[3] Credit Balance Inquiry
[4] Payment
[5] Client Profile
[6] Close Credit Account
[7] Exit
New Account
Input client name, address, birthday, phone number and desired credit limit
of the user, then assign a five-digit credit card number (randomize the credit card
number).
Purchases
Input the credit card number and then display the respective account name,
credit limit, and credit balance.
Input the amount of purchase and compute the credit balance as follows:
Interest = 5% 0f credit balance(includes the previous balance and amount of
purchase)
Credit Balance = Credit Balance + Interest (should not exceed the credit
limit)
Payment
Input the credit card number and then display the respective account name,
credit limit, and credit balance.
Input the amount of payment, not greater than the credit balance.
Client Profile
Input the credit card number and then display the respective account name,
credit limit, and credit balance, and all other client details.
Other Requirements :
1. Opening a new credit account is not allowed if a credit account is already
opened.
2. All other transactions, except exit, is not allowed without opening first a new
credit account.
3. All monetary matters’ format are limited to 2 decimal places and are prefixed
with Php.