Question: i was wondering if someone could look at these problems...
Question details
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
 A store sells cups and plates for parties. The owners want a program that allows them to enter the price of a cup, the price of a plate, the number of cups purchased, the number of plates purchased, and the sales tax rate. The program should calculate and display the total cost of the purchase.
Inputs 
Process 
Outputs 
cupPrice 
totalCost 

platePrice 

cupNum 

plateNum 

taxRate 
Pseudo Code:
 Enter cupPrice and platePrice
 Enter cupNum and plateNum
 Enter taxRate
 Calculate total of plates and cups by multiplying cupPrice by cupNum/platePrice by plateNum, then add together.
 Multiply taxRate by total and add to total to find totalCost.
 Display totalCost
Desk Check
cupPrice 
platePrice 
cupNum 
plateNum 
taxRate 
totalCost 

2 
5 
7 
10 
0.2 
76.80 

5 
7 
10 
15 
0.3 
201.5 
 A sales manager wants a program that allows him to enter the sales made in each of two states. The program should calculate and display the commission, which is a percentage of the total sales. This percentage is called the commission rate and is 12%.
Inputs 
Process 
Outputs 
firstState 
commissionTotal 

secondState 

commissionRate 
Pseudo Code:
 Set value of comissionRate to .12
 Enter firstState and secondState
 Calculate commissionTotal by adding secondState and firstState then multiply the total by comissionRate and add together.
 Display commissionTotal
Desk Check
firstState 
secondState 
comissionRate 
commissionTotal 

15000 
12000 
.12 
(15000+12000=27000) 

1000 
900 
.12 
(1000+900=1900) 