# LANGUAGE NEEDED IS C PROGRAMMING!!!! In this homework you will be dealing with geographic position data of cities all around the world. Often, pilots in an aircraft need to search for the nearest c

LANGUAGE NEEDED IS C PROGRAMMING!!!!

In this homework you will be dealing with geographic position data of cities all around the world. Often, pilots in an aircraft need to search for the nearest cities within some range of distance when flying their course. This information may be needed for mission / flight planning purposes or sometimes for emergency procedures. In this homework, you are required to develop a program which calculates the nearest cities of the aircraft, given the current aircraft position, the search range using an input file which includes the world cities database. The calculated cities will be sorted from the nearest city to the most distant city within the calculation range and will be written to an output file including data about the cities in the given format.The following text is from WorldCities.txt file , I am writing only  a short list of it! (First 20 only)NO LON-DEG LON-MIN LON-SEC LON-EW LAT-DEG LAT-MIN LAT-SEC LAT-NS CITY_NAME CNTRY_NAME POP 1 99° 31′ 44.4087″ E 16° 28′ 22.7891″ N Kamphaeng-Phet Thailand 58787 2 12° 11′ 23.9867″ E 5° 33′ 25.1854″ S Cabinda Angola 66020 3 100° 20′ 56.4051″ E 16° 26′ 20.4143″ N Phichit Thailand 35760 4 15° 46′ 59.8813″ E 17° 02′ 59.9853″ S Onjiva Angola 10169 5 24° 49′ 48.0051″ E 28° 39′ 35.9856″ S Kimberley South-Africa 142089 6 105° 26′ 16.7907″ E 10° 22′ 55.2145″ N Long-Xuyen Vietnam 158153 7 92° 50′ 00.0071″ E 56° 00′ 59.9976″ N Krasnoyarsk Russia 927200 8 100° 08′ 02.4015″ E 15° 42′ 03.6142″ N Nakhon-Sawan Thailand -999 9 28° 03′ 21.5908″ E 28° 52′ 40.8108″ S Hlotse Lesotho 47675 10 13° 24′ 21.6155″ E 12° 34′ 37.1854″ S Benguela Angola 151226 11 105° 05′ 05.9980″ E 10° 00′ 25.2036″ N Rach-Gia Vietnam 228356 12 106° 24′ 46.8119″ E 10° 31′ 51.5966″ N Tan-An Vietnam 64801 13 15° 44′ 09.5869″ E 12° 45′ 36.0073″ S Huambo Angola 226145 14 100° 54′ 50.4120″ E 14° 30′ 46.8146″ N Saraburi Thailand -999 15 91° 26′ 34.7906″ E 53° 43′ 08.4072″ N Abakan Russia 167289 16 105° 38′ 09.5903″ E 10° 28′ 01.2003″ N Cao-Lanh Vietnam -999 17 13° 29′ 31.1978″ E 14° 55′ 08.4106″ S Lubango Angola 102541 18 101° 12′ 57.5944″ E 14° 12′ 00.0071″ N Nakhon-Nayok Thailand 21309 19 26° 13′ 30.0049″ E 29° 07′ 04.7892″ S Bloemfontein South-Africa 463064 20 94° 23′ 09.5904″ E 51° 42′ 36.0147″ N Kyzyl Russia 108240