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