Chapter 4: Problem 18
a) Read the problem statement. b) Formulate the algorithm using pseudocode and top-down, stepwise refinement. c) Write a Java program. d) Test, debug and execute the Java program. e) Process three complete sets of data. Develop a Java application that will determine whether any of several department-store customers 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 the customer this month d) total of all credits applied to the customer's account this month e) allowed credit limit. The program should input all these facts as integers, calculate the new balance ( = brginming balance \(+\text { duarges }-\text { credits }),\) display the new balance and determine whether the new balance exceeds the customer's credit limit. For those customers whose credit limit is exceeded, the program should display the message "Credit 1 imit exceeded".
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.