Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop a C program that will determine if a department store customer has exceeded the credit limit on a charge account. For a customer the

Develop a C program that will determine if a department store customer has exceeded the credit limit on a charge account. For a customer the following facts are available:

1. Account Number

2. Balance at the beginning of the month

3. Total of all items charged this month

4. Total of all credits applied to this customers account this month

5. 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 credit limit. For those customers whose credit limit is exceeded, the program should display the customers account number, credit limit, new balance and the message Credit limit exceeded. Otherwise display the same information plus the available credit. At the end of every calculation the program should prompt the user if he/she wants to continue (use a loop to implement this feature).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

Why review the disclosure of nonperforming assets for banks?

Answered: 1 week ago

Question

=+ Are ballots compulsory?

Answered: 1 week ago