hoursworked40 = hoursworked - 40;
hoursworked40 = hoursworked40 * 1.5;
totalpay = (hoursworked + hoursworked40) * wage;
These lines are.
--- Update ---
Thank you. i knew it was...
Type: Posts; User: gotdatdough
hoursworked40 = hoursworked - 40;
hoursworked40 = hoursworked40 * 1.5;
totalpay = (hoursworked + hoursworked40) * wage;
These lines are.
--- Update ---
Thank you. i knew it was...
My program is supposed to calculate the income of the user by taking the number of hours worked and their hourly wage. if the person works over 40 hours, thy recieve 1.5 times the amount of their...