The writer is very fast, professional and responded to the review request fast also. Thank you.
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:
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.
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 moreEach 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 moreThanks 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 moreYour 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 moreBy 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