Home Forums C Programming Bubble and Selection sort

Viewing 0 reply threads
  • Author
    Posts
    • #1961
      danbinarim
      Participant

      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:

Viewing 0 reply threads
  • The forum ‘C Programming’ is closed to new topics and replies.