Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started