Question: by using a C programming language, I need to get a result like this above ^ Computer programming - C Language. 3. I8 (Credit Limit
by using a C programming language, I need to get a result like this above ^
Computer programming - C Language.
3. I8 (Credit Limit Calculator) Develop a C program that will determine if a department store 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) Allowed credit limit The program should input each of these facts, calculate the new balance (= beginning balance + charges - credits), and determine if the new balance exceeds the customer's credit limit. For those customers whose credit limit is exceeded, the program should display the customer's account number, credit limit, new balance and the message "Credit limit exceeded." Here is a sample input/output dialog: Enter account number ( 1 to end): 100 Enter beginning balance: 5394.78 Enter tota1 charges: 1000.00 Enter tota7 credits: 5000.00 Enter credit Timit: 5500.00 Account: 100 Credit 1imit: 5500.00 Balance: 5894.78 Credit Limit Exceeded
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
