TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
D W
NA
12
21.5k
Need help turning this into a C# code
Oct 23 2012 2:41 PM
Need help turning this into a C# code
Pseudocode:
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
Reply
Answers (
4
)
Reading unread mails from the gmail inbox
Static Constructor in C#