Question: Write pseudocode algorithms for the programs described as follows: 1. Available Credit A program that calculates a customers available credit should ask the user for

Write pseudocode algorithms for the programs described as follows:

1. Available Credit

A program that calculates a customer’s available credit should ask the user for the following:

• The customer’s maximum amount of credit

• The amount of credit used by the customer       

Once these items have been entered, the program should calculate and display the customer’s available credit. You can calculate available credit by subtracting the amount of credit used from the maximum amount of credit.

2. Sales Tax

A program that calculates the total of a retail sale should ask the user for the following:

• The retail price of the item being purchased

• The sales tax rate       

Once these items have been entered, the program should calculate and display the following:

• The sales tax for the purchase

• The total of the sale  

3. Account Balance

A program that calculates the current balance in a savings account must ask the user for the following:

• The starting balance

• The total dollar amount of deposits made

• The total dollar amount of withdrawals made

• The monthly interest rate

Once the program calculates the current balance, it should be displayed on the screen.

Step by Step Solution

3.31 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 Get user input for maximum credit amount Get user input for amount of credit used Calculate ... View full answer

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 Starting Out With Java From Control Structures Questions!