ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 20 May 2017 My Price 9.00

Suwarna HandeStudent Number

need to rectify the code.Also i need to add one check if the uerr is inputting the User Name and the total sales in correct format like string and double?

 

Suwarna HandeStudent Number: n9834311Assessment 1 Part 2(IFN501)Name of the student:Suwarna HandeStudent Number:n9834311Topic:C# Program to Calculate the Salary of an Employee a±er the DeducTonsusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;namespacetotalSalaryCalculator{classtotalsalarycalculator{staticvoidMain(string[] args){stringemployeeName;doublesaleForWeek;doublegrossPay;doublefedTaxDeduction;doublesocialSecDeduction;doubletotalDeductions;doubletakeHomePay;doubleretirementContri;DisplayInstructions();employeeName = GetInformation();saleForWeek = GetInformation();grossPay = GetGrossPay(saleForWeek);retirementContri = GetRetContri(grossPay);socialSecDeduction = GetSSdeduction(grossPay);fedTaxDeduction = GetFedTax(grossPay);totalDeductions = GetDeduction(fedTaxDeduction, retirementContri, socialSecDeduction);takeHomePay = GetNetPay(grossPay, totalDeductions);DisplayResults(employeeName, saleForWeek, grossPay, fedTaxDeduction,socialSecDeduction, retirementContri, takeHomePay);}publicstaticvoidDisplayInstructions(){Console.WriteLine("This Program Calculates the Net Salary"+" of the employee for aweek\n");Console.WriteLine("How much of the sale's target you were able to achieve for oneweek\n");Console.WriteLine("you will be asked to enter the total sales for a week\n");Console.WriteLine("The gross pay will be calculated accordingly\n");Console.WriteLine("Gross pay is seven pecent"+" of the Total sales for a week\n");

Attachments:

Answers

(11)
Status NEW Posted 20 May 2017 09:05 AM My Price 9.00

-----------

Not Rated(0)