Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write pseudocode algorithms for the programs described as follows: Pseudo code 1

ID: 3785765 • Letter: W

Question

Write pseudocode algorithms for the programs described as follows:

Pseudo code 1:

1. the retail price of the item being purchased

2. the sales tax rate

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

1. the sales tax for the purchase

2. the total of the sale

Pseudo code 2: A program that calculates a customer's bank account balance

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

1. the starting balance this month

2. the total amount of deposits made this month

3. the total amount of withdrawal made this month

4. the monthly interest rate

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

Explanation / Answer

Pseudo code:

1.) Take input the retail price of the item being produced

2.) take input the sales tax rate

3.) Calculate sales tax for the purchase as (sales tax rate * retail price of the item being produced)

4.) Display sales tax for the purchase

5.) Calculate the total of the sale as addition of sales tax for the purchase and retail price of the item being produced.

6.) Display total of the sale.

Pseudo code 2:

1.) Input starting balance at this month, sb (say).

2.) Input total amount of deposits made this month (dep).

3.) input total amount of withdrawal made this month; wd (say).

4.) the monthly rate (r)

5.) calculate interest of the month (i) as

i = (sb + dep -wd) * r

6.) Current balance = sb + dep -wd + i

7.) Display the current balance.

Hope it helps, do give your review.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote