Chapter 1: Problem 26
Available Credit Design a hierarchy chart for a program that calculates a customer’s available credit. The program should carry out the following steps: 1\. Display the message “Enter the customer’s maximum credit.” 2\. Wait for the user to enter the customer’s maximum credit. 3\. Display the message “Enter the amount of credit used by the customer.” 4\. Wait for the user to enter the customer’s credit used. 5\. Subtract the used credit from the maximum credit to get the customer’s available credit. 6\. Display a message that shows the customer’s available credit.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.