A benchmark test is used to see if the software will work efficiently and the way it is supposed to work.
Answer:
#include<new>
using std: :bad_alloc;
char* function ( int size )
{
try
{
char *p = new char [ size ] ;
return p ;
}
catch ( bad_alloc )
{
return NULL;
}
} // end function
Answer:
a. Maximum hours allowed per hour= 40
extra hours worked = 5
Joe's Gross Pay = 40 x 9.35 + 5 x 14.03
=$444.15s
b. SS Tax = 6.2%
Social security deduction= 6.2 % of Gross Pay
= (6.2 *444.15)/100
=$27.5373s
c. Medicare tax =1.45% of Gross Pay
= (1.45 x 444.15)/100
= $6.440175s
d. Federal Tax = $61.62 State Tax = $21.03 city Tax= $6.01
Total deduction for this period= SS Tax +Medicare Tax + Federal Tax + State Tax + City Tax
= 27.5373+6.440175 + 61.62 + 21.03 + 6.01
= $122.637475s
e. Joe's net pay for this pay period = 444.15 - 122.637475
=$321.512525s
Explanation:
Please check the answer section.