Question: Create a C program that will determine whether a department store customer has exceeded the credit limit on a charge account. The user should enter

Create a C program that will determine whether a department store customer has exceeded the credit limit on a charge account. The user should enter the following data:
Account number (an integer)
Balance at the beginning of the month (all monetary values should have a float datatype)
Total of all items charged by this customer this month
Total of all credits applied to this customer's account this month
Allowed credit limit
The program should use a while statement to input each piece of data, calculate the new balance (=beginning balance + charges - credits), and determine whether the new balance exceeds the customer's credit limit. You will use a sentinel value to allow the user to end the loop when they wish. 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."
Submit the following three files using the instructions below:
Your Flowgorithm file
Your .c file
A Word document with a screenshot of your code output that includes the path name directory at the top of the screen
 Create a C program that will determine whether a department store

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!