#include #include #include using namespace std; int getChildren (); double taxAmount(int numPeople, double salary, double pensionAmount, int standardExemption); void getData (); int main () { getData(); return 0; } void getData () { char status = 0; char answer = 0; int numPeople = 0; int numChildren = 0; double tax = 0.0; double salary = 0.0; double pensionAmount = 0.0; double deductAmount = 0.0; double standardExemption = 0.0; cout<<"Enter 'm'arried or 's'ingle:"; cin>>status; cout<>answer; cout<>salary; cout<>salary; cout<>salary; cout<>pensionAmount; cout<>children; cout< 15000.00 && salary <= 40000.00) { amountoftax = 2250.00 + ((deductionPerNumPeople + pensionAmount + standardExemption - 15000.00) * 0.25); } else if(salary > 40000.00) { amountoftax = 8460.00 + ((deductionPerNumPeople + pensionAmount + standardExemption - 40000.00) * 0.35); } return amountoftax; }