Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Each employee has the following deductions taken from his gross pay: Federal Income Tax: 15% State Tax: 3.5% Social Security + Medicare Tax: 8.5% Health Insurance $75 The output from your program should be structured as is displayed below: Bill Robinson Gross Amount: ............ $3575.00 Federal Tax: ............. $ 536.25 State Tax: ............... $ 125.13 Social Sec / Medicare: ... $ 303.88 Health Insurance: ........ $ 75.00 Net Pay: ................. $2534.75 Here is the program I have designed: #include #include using namespace std; int main() { double grossPay; double FedralTax; double StateTax; double Social_midCare; double HealthInsurance; string name; cout<<"please enter the employee name"<<endl; getline(cin,name); cout<<"please enter the gross pay of "<<name<<endl; cin>>grossPay; if(grossPay<0) { while(grossPay<=0) { cout<<"sorry you entered a wrong Gross Pay information"<<endl; cout<<"please enter the Gross Pay again"<<endl; cin>>grossPay; } } FedralTax=grossPay*(15.0/100) ; StateTax=(3.5/100)*grossPay; Social_midCare=(8.5/100)*grossPay; HealthInsurance=75; cout<<name<<endl; cout<<"Gross Amount: ............ "<<grossPay<<"$"<<endl; cout<<"Federal Tax: ............. "<<FedralTax <<"$"<<endl; cout<<"State Tax: ............... "<<StateTax<<"$"<<endl; cout<<"Social Sec / Medicare: ... "<<Social_midCare<<"$"<<endl; cout<<"Health Insurance: ........ "<<HealthInsurance<<"$"<<endl; grossPay=grossPay - (FedralTax + StateTax + Social_midCare + HealthInsurance); cout<<"Net Pay: ................. "<<grossPay<<"$"<<endl; 3. Design an algorithm in pseudocode to solve the problem. Make sure to include steps to get each input and to report each output. Include steps to deal with error cases. 4. Identify three test cases, one using a positive number, and one using a negative number, and one using incorrect input (ie. Input a letter rather than a digit for the numeric input). For each of the three test cases show what inputs you will use and what your expected outputs should be. 5. Write the program to implement your algorithm. Test your program using your test cases.
Why professionalism of procurement officers is essential.
Respond to other students by adding anything they may have missed, correcting any errors, complimenting them on proper usage, or expanding their discussion.
How would an evolutionary psychologist explain differing levels of physical aggression in males and females?
Should elected political figures be required to be re-vetted by a bi-partisan committee prior to qualifying for automatic incumbency? What are the potential draw-backs to this?
In the Supreme Court case of [Roper vs. Simmons] (2005), the Supreme Court overturned the imposition of the death penalty for juveniles. Because of the ruling, every State had to convert those juveniles in their state sentenced to death to life in pr..
Theories of Intelligence or Consider for a moment how different cultures value specific cognitive abilities and behaviors.
As an american business traveler to the country of Chile, In a short desription, What are the most stricking "cultural characterics" I need to know about that may effect business interactions in that country?
Write down the faetures and signs of high-quality education in elementary school.
Decide what steps would be necessary to convert that company or organization from a push strategy to a pull strategy.
It seems like the consensus is that every business must tune into technology… even if it doesn’t have money to invest in technology. As was pointed out, there are some impactful things that you can do given a little knowledge and time (i.e. free webs..
Explain the risks associated with leveling resources, compressing or crashing projects and imposed durations or “catch-up” as the project is being implemented
because _____,oceania became a region of many different languages
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd