I am in JAVA class for the first time and the attached screenshot is from professor. The line below is the Exercise that he is talking about in the screenshot. Another screenshot is the format of how I should turn in the homework. Algorithm Workbench Write pseudocode algorithms for the programs described as follows: 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. 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 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.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
I am in JAVA class for the first time and the attached screenshot is from professor.
The line below is the Exercise that he is talking about in the screenshot.
Another screenshot is the format of how I should turn in the homework.
Algorithm Workbench
Write pseudocode algorithms for the programs described as follows:
-
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.
-
-
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
-
-
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.
-
![Homework Assignments:
Students are responsible for completing and submitting homework assignments via Blackboard.
Each homework assignment will be accompanied with an assignment sheet describing the preparation,
specific tasks, and submission requirements needed to fulfll he assignment. Deliverable requirements
are to be followed exactly as they are written. Homework assignments are submitted as .pdf files.
All homework assignments must have a standard header at the top left of the page as follows:
Name: Lastname, Firstname
Homework Assignment #: X
Filename: Lastname_Firstname_Homework_X](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3e484d43-c7d4-4e91-b441-5ffb05728204%2F53c5b877-06de-47f1-b95f-da6694762bd2%2Fyqrpwz_processed.png&w=3840&q=75)
![CSCI 2911
HWA-01
Read:
Chapter 1
Assignment:
Review Questions and Exercises (1 – 13); Pages 21-22
Deliverables:
Submit a .pdf file of the answers to the appropriate assignment in Blackboard Learn.
Be sure to include the header on the assignment formatted as:
Name: Lastname, Firstname
Homework Assignment #: 01
Filename: Lastname_Firstname_Homework_HWA-01](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3e484d43-c7d4-4e91-b441-5ffb05728204%2F53c5b877-06de-47f1-b95f-da6694762bd2%2F9oxz75a_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)