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. 

output 

 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:  

 







Calculate Your Essay Price
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 10% with the coupon code: best10