Question: Ex-18. Write a program (pseudocode) to convert the distance of the nine major planets from AU to km. Background: The illustration below depicts the true

Ex-18. Write a program (pseudocode) to convert the distance of the nine major planets from AU to km. Background: The illustration below depicts the true relative distances from the Sun of each planet as well as asteroids in the Asteroid belt, measured in astronomical units or (AU) which is equal to the length of the semi-major axis of the Earth's elliptical orbit or 149,597,870.69 km. Notice that the Earth is positioned at 1 AU and the farthest major planet Neptune is positioned at 30 AU. Also notice that Pluto's distance from the Sun varies between 30 and 50 AU, with its orbit sometimes crossing that of Neptune Ex-18. Write a program (pseudocode) to convert the distance of the nine major planets from AU to km. Background: The illustration below depicts the true relative distances from the Sun of each planet as well as asteroids in the Asteroid belt, measured in astronomical units or (AU) which is equal to the length of the semi-major axis of the Earth's elliptical orbit or 149,597,870.69 km. Notice that the Earth is positioned at 1 AU and the farthest major planet Neptune is positioned at 30 AU. Also notice that Pluto's distance from the Sun varies between 30 and 50 AU, with its orbit sometimes crossing that of Neptune
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
