subject

Instructions: This program will generate some information for a user about interplanetary travel (pretend we can travel easily to other planets for this problem). This program will perform calculations concerning weight on various planets as well as travel time between planets. (Do not use arrays for this program - make the program as efficient as possible using only selection statements) Your program should start out by displaying the following information about the program:
Welcome to INTERPLANETARY TRAVEL PROGRAM!
This program enables you to find out your travel time to the planet
you want to travel to as well as your weight on there.
Please enjoy the program and hope you'll find the perfect planet for you!
Next the program should display the following menu:
INTERPLANETARY TRAVEL MENU

a) Mercury
b) Venus
c) Earth
d) Mars
e) Jupiter
f) Saturn
g) Uranus
h) Neptune
q) Quit
Select a planet to travel to or q to quit the program:
If the user chooses a-h, the program should then ask the user to enter their weight (ask politely) and the speed at which they wish to travel (in miles per hour). Now you have all the data you need from the user: the planet they wish to travel to, their weight (in lbs on Earth) and the speed at which they wish to travel (in miles per hour).
Using the data the user input and the table on the next page calculate the user

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:00, tyneshiajones124
Duplicating objects creates copies that a. move differently than the original object b. erase the original object c. look and act like the original object d. add events to a game
Answers: 1
image
Computers and Technology, 22.06.2019 17:00, DRock4976
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
image
Computers and Technology, 23.06.2019 04:31, caseypearson377
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
image
Computers and Technology, 24.06.2019 00:00, miguelturner
Which tool could be used to display only rows containing presidents who served two terms
Answers: 3
You know the right answer?
Instructions: This program will generate some information for a user about interplanetary travel (pr...

Questions in other subjects:

Konu
Social Studies, 12.11.2020 01:50
Konu
Mathematics, 12.11.2020 01:50