By using Loop in c++, you are responsible to develop a Credit Limit Calculator, which will determine if their customer has exceeded the credit limit on a charge account. For each customer, the...


By using Loop in c++, you are responsible to develop a Credit Limit Calculator, which will determine if<br>their customer has exceeded the credit limit on a charge account. For each customer, the following<br>facts are available:-<br>a) Account number<br>b) Balance at the beginning of the month<br>c) Total of all items charged by this customer this month<br>d) Total of all credits applied to this customer's account this month<br>e) Type of Membership: SVIP(S), VIP(V) and Basic(B)<br>Your program should input each for these facts, calculate the new balance (= beginning balance<br>+ charges - credit), and determine if the new balance exceeds the customer's credit limit. The<br>customer's credit limit is based on their membership type as below:-<br>Type of Membership<br>SVIP (S)<br>VIP (V)<br>Basic (B)<br>Credit Limit (HK$)<br>20,000<br>10,000<br>5,000<br>For those customers whose credit limit is exceed, the program should display the customer's<br>account number, type of membership, credit limit, new balance and the message

Extracted text: By using Loop in c++, you are responsible to develop a Credit Limit Calculator, which will determine if their customer has exceeded the credit limit on a charge account. For each customer, the following facts are available:- a) Account number b) Balance at the beginning of the month c) Total of all items charged by this customer this month d) Total of all credits applied to this customer's account this month e) Type of Membership: SVIP(S), VIP(V) and Basic(B) Your program should input each for these facts, calculate the new balance (= beginning balance + charges - credit), and determine if the new balance exceeds the customer's credit limit. The customer's credit limit is based on their membership type as below:- Type of Membership SVIP (S) VIP (V) Basic (B) Credit Limit (HK$) 20,000 10,000 5,000 For those customers whose credit limit is exceed, the program should display the customer's account number, type of membership, credit limit, new balance and the message "Credit Limit" exceeded. Sample Run: Enter account number ( -1 to end): 102045210 Enter beginning balance: 53900.00 Enter total charges: 5000.00 Enter total credits : 1020.00 Enter type of membership (S for Super VIP; V for VIP; B for Basic) : s Account: 102045210 Credit limit: 20000.00 Balance: 57880.00 Credit Limit Exceeded. Enter account number ( -1 to end ): 201022128 Enter beginning balance: 1020.00 Enter total charges: 2000.00 Enter total credits : 502.00 Enter type of membership ( S for Super VIP; V for VIP; B for Basic: B Enter account number ( -1 to end ): -1
Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here