102k views
2 votes
Use pseudocode. 1) Prompt for and input a saleswoman's sales for the month (in dollars) and her commission rate (percentage). Output her commission for that month. Note that you will need the following Variables: SalesAmount CommissionRate CommissionEarned

You will need the following formula: CommissionEarned= Sales Amount * (commissionrate/100)

1 Answer

0 votes

Answer:

The pseudocode is as follows:

Input SalesAmount

Input CommissionRate

CommissionEarned= SalesAmount * (CommissionRate/100)

Print CommissionEarned

Step-by-step explanation:

This gets input for SalesAmount

Input SalesAmount

This gets input for CommissionRate

Input CommissionRate

This calculates the CommissionEarned

CommissionEarned= SalesAmount * (CommissionRate/100)

This prints the calculated CommissionEarned

Print CommissionEarned

User Blackpanther
by
5.9k points