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