Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 399 Weeks Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Management Posted 27 Feb 2018 My Price 8.00

Sort data by the float value

This is in C programming Part 1: ------- Write a program that provides the user with a simple menu that includes the following options: 1. Sort data by the float value & print high to low 2. Sort data by the float value & print low to high 3. Sort data by the int value & print high to low 4. Sort data by the int value & print low to high 5. Exit Of course, the menu must repeatedly be displayed until the user selects the "exit" option. You will need an infinite loop (while do loop?) to accomplish ths. The only thing allowed in the main routine is the code required to handle the menu and calls to functions to read the data and sort it. Part 2: ------- For menu options 1, 2, 3 & 4 your program must call a function that opens a file of unknown size and stores the data in a array of struct. The file will be called hw3.data. The file will contain a string, a float, an int and string. Below is a sample file: F150 5.4 28000 white RAM1500 5.7 32000 orange The code to handle this MUST be a function separate from the main routine. Note that the array must be dynamically allocated. You MUST use calloc() or malloc() to create this array. Also, you MUST call free() as appropriate. Part 3: ------- For menu options 1, 2, 3 & 4 your program must call a function that sorts the data HIGH TO LOW by the appropriate component. Since we are sorting the data by 2 different components you are allowed to have 2 different sort functions. But, ONLY 2! Part 4: ------- For menu options 1, 2, 3 & 4 your program must call a function that prints the resulting data. Since you must print the data high to low or low to high, you are allowed to have 2 routines. But, only 2!

Answers

(5)
Status NEW Posted 27 Feb 2018 06:02 PM My Price 8.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on-----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be-----------

Not Rated(0)