Question: Task C. Sorting the list of countries Write a new program that reads the data the same way as the previous program. Then the program
Task C. Sorting the list of countries
Write a new program that reads the data the same way as the previous program. Then the program should:
Make an array to store the countries with negative relative growth.
Populate this array sorted by its population in 1960.
To do that, use the insertion sort technique:
Scan the full array of countries from the struct World, once a country with negative growth is found, insert it in the corresponding place in the sorted array.
Print these sorted entries on the screen following the format:
...
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
