#include "stdafx.h" #include using namespace std; int main(int argc, char* argv[]) { int hrs, salary; cout << endl << "Please enter the hours #:"; cin >> hrs; if (hrs <= 60) salary = hrs * 75; if ((hrs >60) && (hrs <=75)) salary = 60 * 75 + (hrs - 60) * 1.25; if (hrs > 75) salary = 60 * 75 + 15 * 75 * 1.25 + (hrs-75) * 75 * 1.75; cout << endl << "The Total Salary is NT$:" << salary << endl; return 0; }