#include <iostream>
using namespace std;
int main( ) {
//Define variables for calculation
int EmployeeID;
double HoursWorked;
double RatePerHour;
double GrossSalary;
//Ask user for input
cout << "Enter Employee ID: " ;
cin >> EmployeeID;
cout << "Enter Hours Worked by Employee in one week: " ;
cin >> HoursWorked;
cout << "Enter Hourly Rate for Employee: " ;
cin >> RatePerHour;
//Display header
cout << "********************************************" << endl;
cout << "Author: Nathan Hocking" << endl;
cout << "Program Name: Nathan_Project1.cpp" << endl;
cout << "Date: October 5th, 2024" << endl;
cout << "College Name: Long Beach City College (LBCC)" << endl;
cout << "********************************************" << endl;
//Return user input
cout << "Employee ID: " << EmployeeID << endl;
cout << "Hours Worked: " << HoursWorked << endl;
cout << "Rate per Hour: " << RatePerHour << endl;
//Salary is hours worked in a week times hourly rate
GrossSalary = HoursWorked * RatePerHour;
cout << "Gross Salary: $" << GrossSalary << " / week" ;
return 0 ;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpIHsKCS8vRGVmaW5lIHZhcmlhYmxlcyBmb3IgY2FsY3VsYXRpb24KCWludCBFbXBsb3llZUlEOwoJZG91YmxlIEhvdXJzV29ya2VkOwoJZG91YmxlIFJhdGVQZXJIb3VyOwoJZG91YmxlIEdyb3NzU2FsYXJ5OwoJLy9Bc2sgdXNlciBmb3IgaW5wdXQKCWNvdXQgPDwgIkVudGVyIEVtcGxveWVlIElEOiAiOwoJY2luID4+IEVtcGxveWVlSUQ7Cgljb3V0IDw8ICJFbnRlciBIb3VycyBXb3JrZWQgYnkgRW1wbG95ZWUgaW4gb25lIHdlZWs6ICI7CgljaW4gPj4gSG91cnNXb3JrZWQ7Cgljb3V0IDw8ICJFbnRlciBIb3VybHkgUmF0ZSBmb3IgRW1wbG95ZWU6ICI7CgljaW4gPj4gUmF0ZVBlckhvdXI7CgkvL0Rpc3BsYXkgaGVhZGVyCgljb3V0IDw8ICIqKioqKioqKioqKioqKioqKioqKioqKioqKio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