Question: #include using namespace std; int main ( ) { double salary = 1 2 5 0 . 0 0 ; double stateTax = ; double
#include
using namespace std;
int main
double salary ;
double stateTax;
double federalTax;
double numDependents ;
double dependentDeduction;
double totalWithholding;
double takeHomePay;
Calculate state tax here
cout "State Tax: $ stateTax endl;
Calculate federal tax here
cout "Federal Tax: $ federalTax endl;
Calculate dependent deduction here
cout "Dependents: $ dependentDeduction endl;
Calculate total withholding here
Calculate takehome pay here
cout "Salary: $ salary endl;
cout "TakeHome Pay: $ takeHomePay endl;
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
