Question: Exercise 1 Exercise 2 Using the hierarchy chart, design the logic for a program needed by Hometown Bank. ( Plan ) Please review all
Exercise Exercise
Using the hierarchy chart, design the logic for a program needed by Hometown Bank.
Plan Please review all necessary steps and carefully consider the materials and structure needed for drafting your
Pseudocode.
PlanThe program determines a monthly checking account fee.
Start our program
Housekeeping or the set up of our variables.
Plan Use a variable to store the account balance ie accountBalance
Plan Use a variable to store the fee for an overdrawn account. The overdrawn fee should be calculated as
follows: it is percent of the account balance plus an additional $ for each time the account was overdrawn. For
example, if the balance is $ and the account was overdrawn times, the total fee would be percent of
$ plus times $
Ready to begin our program? let's collect our information!
Input Collect the account balance
Input Collect the number of times the account was overdrawn
Calculate the fee and new account balance.
Process Compute the fee
Process Compute the account balance fee
Using the hierarchy chart, design the logic for a program for Wong's Appliances.
Plan Please review all necessary steps and carefully consider the materials and structure needed for drafting your
Pseudocode.
Input Design a program that prompts the user for a refrigerator model name and the interior height, width, and
depth in inches.
Process Calculate the refrigerator capacity in cubic feet by multiplying the height, width, and depth to get cubic
inches and dividing by the number of cubic inches in a cubic foot Use named constants where appropriate
for your calculation.
Output Print the refrigerator module name and capacity in cubic feet
Please verify the accuracy of your pseudocode by testing it using a calculator to ensure the correct calculation of
Cubic Feet.
Verify the accuracy of your pseudocode by using a calculator to ensure the correct calculation of Cubic Feet. Did it
work? Guess what? You just completed a testing scenario, which we will learn more about in future modules.
Once completed, save your file as Pseudocode Module Exercise Your Name
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
