3 questions for c++ i have part of the answer so that will sure help

6)  Convert the following 2 numbers to binary, octal and hex. 2.875, 0.1796875        When done, convert the following to a float representation        by the definition in class. In other words, I want an 8 digit hex number representation using the 4 byte float specification        defined in class. An example .pdf is attached for you to review.    b)  Do the same for a) given they are negative values.   c)  Convert the float representations of the following into the decimal number given the definition in class. 59999901, 59999902, A66667FE Note:  This doesn’t require a program, however, I want you to write a simple function that outputs the answers you did by hand with “cout”.

3) I have written a program for you to complete.  This problem is not tobe included with the menu.  Simply print when I run the menu program thatit is included in another project.  You are to write a program that outputsthe mean, median, and modes.  Your task is to complete the function.  This will use structures to pass information from one function to the print function. Stats *stat(const Array *array){    //Non-working stub to be completed by the student    cout<<endl<<“stat function to be completed by the student”<<endl;    Stats *stats=new Stats;    stats->mode=new Array;    stats->mode->size=0;    int nModes=0;    stats->mode->data=new int[nModes];    stats->modFreq=1;    stats->median=0;    return stats;} I have also supplied the expected outputs you can compare against in aStatResults.txt file. 


 This gives 3 example outputs. Original Array0 1 2 3 4 5 6 7  The average of the array = 3.5The median of the array  = 3.5The number of modes      = 0The max Frequency        = 1The mode set             = {null}   Original Array0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0  The average of the array = 4.35484The median of the array  = 4The number of modes      = 1The max Frequency        = 4The mode set             = {0}    Original Array0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8  The average of the array = 4.38462The median of the array  = 4The number of modes      = 9The max Frequency        = 4The mode set             = {0,1,2,3,4,5,6,7,8}

2) Develop an application using an array of structures that will determine the gross pay for any number of employees input. The company pays “straight-time” for the first 40 hours worked, double time for all hours worked in excess of 40 hours but less than 50 hours, and triple time for any hours worked over 50 hours. The program should be able to loop and input the employee’s name, hours worked, and the rate of pay.  Once this has been done then outputthis information including the gross pay in the form of a paycheck.The process starts all over again until you input an invalid rate of pay or hours worked.  Thismeans a negative rate of pay or negative number of hours worked isnot acceptable. Print it out like an actual paycheck with Englishlanguage representing the check amount.Prinout like a company Paycheck with format:     Company     Address     Name: Amount: numerical     Amount:    English of numerical value     Signature Line: