Need a program writtenin C that defines an array of structures with typedef exoplanetwhich will be used to group together properties for instances ofexoplanets. The properties for the exoplanets are recorded in aninput data file named exoplanets.txt. Properties of interest are:exoplanet name (string), the distance from Earth in lightyears/integer, and PHL’s numeric estimate of similarity to Earth(ESI).Define an additional function. If the function main, includea prototype statement for the function, placed above main.Displaying the name, distance, and ESI value for the closesexoplanet to earth.Add another function named sortDistances, whichsorts the array of exoplanets in order of closes to farthestdistance
PayPal Gateway not configured
PayPal Gateway not configured