Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
The text file citytpr.txt containing temperature readings for various cities.
The text file citytpr.txt containing temperature readings for various cities. I need help to construct a raptor algorithm to sort the temperatures in decreasing values. The sorted temperatures shall be written to a file called sortedcitytpr.txt. For each city, the citytpr.txt includes the city name and the temperature respectively. I need help with making subflowcharts such as: Main, Read_Temp, swap, etc., and that are part of a bubble sort, insertion sort or sequential sort flowchart.
I have tried this problem, however i am still not getting it quite right.
citytpr.txt
Kingston
10
Milton
4
Calgary
2
Vancouver
14
London
11
sortedcitytpr.txt: Vancouver: 14, London : 11, Kingston : 10, Milton : 4, Calgary : 2