Question: Java How to program 10 edition Chapter 3 Q 3.18 Develop an interactive Java application that determines whether any of several department-store customers have exceeded

Java How to program 10 edition Chapter 3 Q 3.18

Develop an interactive Java application that determines whether any of several department-store customers have exceeded the credit limit on a charge account. For each customer, the following facts are available.

account number

balance at the beginning of the month

total of all items are charged by the customer this month

total of all credits applied to the customers account this month

allowed credit limit

The program should input all these facts as integers, calculate the new balance ( = beginning balance + charges credits), display the new balance and whether the new balance exceeds the customers credit limit. For those customers whose credit limit is exceeded, the program should display the message *****Credit limit exceeded*****.

The above program should run until the user enters the sentinel value of

-999 (See exercise 3.18 page 115).

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!