Course Solutions Uncategorized (Solved) : Must Javascript Goal Assignment Use Functions Try Contain Much Code Possible Inside Functi Q35339581 . . . .

(Solved) : Must Javascript Goal Assignment Use Functions Try Contain Much Code Possible Inside Functi Q35339581 . . . .

 

MUST BE IN JAVASCRIPT

The goal of this assignment is to use functions. Try to containas much of your code as possible inside of functions that are wellnamed and can be reused. At a minimum your code must use fourfunctions.

You are to create a program that aids an astronaut traveling tothe planets (and moons) of our solar system. The planetary bodiesin question are

  • MERCURY
  • VENUS
  • EARTH
  • MOON
  • MARS
  • JUPITER
  • SATURN
  • URANUS
  • NEPTUNE
  • PLUTO

The relative gravity on these planets (relative to earth) is asfollows:

MERCURYVENUSEARTHMOONMARSJUPITERSATURNURANUSNEPTUNEPLUTO0.3780.90710.1660.3772.360.9160.8891.120.071

This means that if you weight 175 pounds (79.379 Kg) on Earthand you traveled to Jupiter, you would weigh 175 * 2.36 = 413pounds or 79.379 * 2.36 =

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post