Need help turning this into a C# code
- Declare variables
- Accept Input – weeklySales
- Calculate Gross Pay = Weekly Sales * .07
- Calculate Federal Tax = Gross Pay * .18
- Calculate Social Security = Gross Pay * .06
- Calculate Retirement = Gross Pay * .10
- Calculate Total Deductions = Federal Tax + Social Security +
Retirement - Calculate Total Take Home Pay = Gross Pay – Total Deductions
- Display the following on separate lines and format variables with $ and
decimal- Total Sales Amount: value of weekly sales
- Gross Pay (.07): value of gross pay
- Federal Tax paid (.18): value of federal tax
- Social Security paid (.06): value of social security
- Retirement contribution (.10): value of retirement
- Total Deductions: value of total deductions
- Take Home Pay: value of take home pay
- Total Sales Amount: value of weekly sales
Pseudocode:

Shivanand ArurRank #920 · 2.3K reputationPosted Oct 23, 2012, 11:58 AM EDT
Hope this helps you out...
Please Mark the answer as accepted, if it Helped!!!
Thank you!!!
D W11 reputationPosted Oct 24, 2012, 8:54 PM EDT
Shivanand ArurRank #920 · 2.3K reputationPosted Oct 24, 2012, 9:20 PM EDT
Thank you... :)
D W11 reputationPosted Oct 30, 2012, 6:50 PM EDT