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: 398 Weeks Ago, 1 Day 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 > Computer Science Posted 14 Sep 2017 My Price 9.00

bubble sort

This programming assigment has me some what consfused. From what I'm to understand I'm supposed to input my data into an array from a text file print it then bubble sort that and allow the user to do a search using a year but I'm unclear on how to go about it.

Program 5

Write a C++ program using arrays that will;

Read in data from a data file of ten(10) records,

Print the original data,

Using the Bubble Sort algorithm, sort the data by year,

Print the sorted data,

Then, prompt the user to enter a year,

Use the Linear Search algorithm to find the record with that year

Then, display the found record, if record not found, print A????1Not FoundA????1.

NOTE: Use functions for your output, sort and search routines.

Original Data

Name                        Year               Tuition

David                         2011               1582.38

Sylvester                    2012                 728.82

Ben                            1992                    0.00

Sorted Data

Name                        Year                Tuition

Ben                             1992                    0.00

David                           2011              1582.38

Sylvester                      2012                728.82

: : : : : : : : :

Enter year: 2011

Record found.

David                          2011             1582.38

Answers

(5)
Status NEW Posted 14 Sep 2017 10:09 PM My Price 9.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)