Airport information.Create a  called Airport with the following fields:Identifier. This should be an array of four character or a pointer to an array of characters.The following properties are doubles:Coordinates which consist of Latitude and Longitude. Latitude is positive to indicate is North of the Equator and negative when it’s located in the southern hemisphere. Longitude is negative to indicate is West and positive to indicate it’s East of the Greenwich median.A magnetic variation which also is indicated negative for West and positive for East. It is OK to have no magnetic variation.Elevation above sea level in feet.For example San Diego airport has the values ID: SAN, Lat: 32.7335556, Long: -117.1896667, Var: 14, Elev: 16.8’ (://..com/airport/SAN)Also create a method inside the structure called  that takes four doubles and use the formula from Project 1.Create another method inside the structure called 2, this method should take one and only one Airport as parameter. This method should break down the elements of each airport and call the  method to return the distance in nautical miles.To test your program, you will declare two Airport variables and will ask the user to enter their ID, Coordinates, Elevation and Magnetic Variation. Then you will calculate the distance between the two using the 2 method. Assuming the user entered the values below, the program should work if it had the following code:// Variable declarationdouble dist;Airport SAN, SFO;// // User inputSAN.Latitude = 32.7335556;SAN.Longitude = -117.1896667;SFO.Latitude = 37.6188056;SFO.Longitude = -122.3754167;// Calculationsdist = SAN.2(SFO); Don’t forget your documentation
The post Airport information.Create a called Airport with the following fields:Identifier. This should be an array of four character or a pointer to an array of characters.The following properties are doubles:Coordinates which consist of Latitude and Longitude. Latitude is positive to indicate is North of the Equator and negative when it’s located in the southern hemisphere. appeared first on Homework Aider.


What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but you proved you are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 11***| Rating: ⭐⭐⭐⭐⭐
"This company is the best there is. They saved me so many times, I cannot even keep count. Now I recommend it to all my friends, and none of them have complained about it. The writers here are excellent."


"Order a custom Paper on Similar Assignment at essayfount.com! No Plagiarism! Enjoy 20% Discount!"