Bubble and Selection sort

Home Forums C Programming Bubble and Selection sort

This topic contains 0 replies, has 1 voice, and was last updated by  danbinarim 10 years, 10 months ago.

  • Author
    Posts
  • #1961

    danbinarim
    Member

    Hi everyone.

    I have a C program (see code below) which I need to urgrade, but I’m new to C programming and after hour of trying to do this I finally gave up and decided to ask some one for HELP.
    Here is what I need to do:

    a. Extract the temps for the City #1 and store in a one dimensional array, display the array.
    b. Sort the one dimensional array of City #1 temps using a selection sort and display the sorted array
    c. Extract the temps recorded from all Cities as 3rd entry and store in a one dimensional array, display the array
    d. Sort the one dimensional array of temps taken as 3rd entry using a bubble sort and display the sorted array

    Can anyone help me with this.
    Many Thanks.
    Andrew

    Here is the CODE:

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble