I was wondering if someone could look at these problems and let me know what errors you see.
The pseudocode in this case is an algorithm
|
Inputs |
Process |
Outputs |
|
cupPrice |
totalCost |
|
|
platePrice |
||
|
cupNum |
||
|
plateNum |
||
|
taxRate |
Pseudo Code:
Desk Check
|
cupPrice |
platePrice |
cupNum |
plateNum |
taxRate |
totalCost |
|||
|
2 |
5 |
7 |
10 |
0.2 |
76.80 |
|||
|
5 |
7 |
10 |
15 |
0.3 |
201.5 |
|
Inputs |
Process |
Outputs |
|
firstState |
commissionTotal |
|
|
secondState |
||
|
commissionRate |
Pseudo Code:
Desk Check
|
firstState |
secondState |
comissionRate |
commissionTotal |
|||||
|
15000 |
12000 |
.12 |
(15000+12000=27000) |
|||||
|
1000 |
900 |
.12 |
(1000+900=1900) |
Everything is right for the 1st question.
For the 2nd part, you have to calculate the total commission and not the sales plus total commission.
Total commission is calculated by commission rate multiplied by total sales.
I edited your solution:
Pseudo Code:
Desk Check
|
firstState |
secondState |
comissionRate |
commissionTotal |
|||||
|
15000 |
12000 |
.12 |
(15000+12000=27000) |
|||||
|
1000 |
900 |
.12 |
(1000+900=1900) |
I was wondering if someone could look at these problems and let me know what errors...
please let me know if these calculations are correct
especially the total debt line. thanks
No Instructions 1. Please enter the data from the previous tabs by clicking on the cell and typing = and then clicking on the desired cell. For example to enter Net Income for 2018 type = and go to the income statement tab and click on cell 127. 2. Complete the calculations. 3. Explain the significance of your ratio calculations. Be careful, only Balance sheet...
I need the pseudocode and python for the four attached problems: 1. (Chapter 5 - For Loop) Logic Technical College has a current tuition of $10,000 per year. Tuition is scheduled to increase by 5% each year. Using a FOR loop, design a program that calculates and displays the tuition each year for the next ten years, like so: The tuition for year 1 will be: 10500.00 The tuition for year 2 will be: 11025.00 ……….. (You, of course will...
Use program control statements in the following exercises: Question 1 . Write pseudocode for the following: • Input a time in seconds. • Convert this time to hours, minutes, and seconds and print the result as shown in the following example: 2 300 seconds converts to 0 hours, 38 minutes, 20 seconds. Question 2. The voting for a company chairperson is recorded by entering the numbers 1 to 5 at the keyboard, depending on which of the five candidates secured...