#include #include /* Get the hourly wage Get the hours per week Compute annual pay wage * hours * weeks_per_year if the pay < 11770 print below poverty line else print at or above poverty line Test Data: $2.00 for 10 hours per week should be 1,040, which is below the poverty level $22.63 for 10 hours per week, just below $22.64 for 10 hours per week, just above Change the FPL to 5200, and test with 10,10 */ using namespace std; const float WEEKS_PER_YEAR = 52; //const int POVERTY_LEVEL = 11770; const int POVERTY_LEVEL = 5200; int main() { float wage, hoursPerWeek, annualIncome; cout << "Enter your hourly wage => "; cin >> wage; cout << endl; cout << "Enter the hours you work each week => "; cin >> hoursPerWeek; cout << endl; annualIncome = wage * hoursPerWeek * WEEKS_PER_YEAR; cout << showpoint << fixed << setprecision(2); cout << endl; cout << "A person making $" << wage << " per hour," << endl; cout << "who works " << hoursPerWeek << " hours per week," << endl; cout << "will make $" << annualIncome << " per year." << endl; cout << "This is "; if (POVERTY_LEVEL > annualIncome) { cout << "below"; } else { cout << "at or above"; } cout << " the federal poverty level for 2015." << endl; cout << endl; return 0; }