Input : Prompt the user for the weekly sales Process : Perform the calculations.
ID: 3632019 • Letter: I
Question
Input:
Prompt the user for the weekly sales
Process:
Perform the calculations. The employee receives 7% of her total
sales as her gross pay. Her federal tax rate is 18%. She
contributes 10% to her retirement program and 6% to Social Security.
Output: Display the results
Sample
Output from Lab 1:
Enter Weekly Sales: 28000
Total
Sales:
$28,000.00
Gross pay
(7%):
$1,960.00
Federal tax
paid: $352.80
Social security paid: $117.60
Retirement contribution: $196.00
Total
deductions:
$666.40
Take home
pay:
$1,293.60
Press any key to continue . . .
Flowchart:
Pseudo Code: