subject

Generate some information for a user about interplanetary travel (pretend we can travel easily to other planets for this problem). Write a program that 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).

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:30
Active listen eliminates barries to communication true or false
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
What allows you to create a wireless connection among your smart devices
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
Now, open this passage to read about fafsa requirements. describe the information you will need to provide in order to complete a fafsa. list at least three of the required documents you must include.
Answers: 3
question
Computers and Technology, 23.06.2019 11:50
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
You know the right answer?
Generate some information for a user about interplanetary travel (pretend we can travel easily to ot...
Questions
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
English, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
English, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
Questions on the website: 13722363