document.write( "Question 904185: I need help solving this:
\n" );
document.write( "A company ABC asked you to design a simple payroll program that calculates and employee's weekly gross pay, including any overtime wages. If employees work over 40 hours in a week, they will get 1.5 times of their regular hourly rate for all hours over 40. \r
\n" );
document.write( "\n" );
document.write( "This is the answer that I am supposed to get $1650 . Everytime I try to solve it I get 2,250 as the weekly gross pay.
\n" );
document.write( "Enter weekly hours worked: 50
\n" );
document.write( "Enter hourly rate: 30
\n" );
document.write( "Weekly gross pay: $ 1650 \n" );
document.write( "
Algebra.Com's Answer #548565 by richwmiller(17219)![]() ![]() You can put this solution on YOUR website! 50-40=10 \n" ); document.write( "30*1.5=45 \n" ); document.write( "40*30=1200 \n" ); document.write( "10*450=450 \n" ); document.write( "1200+450=1650 \n" ); document.write( " \n" ); document.write( " |