subject

Code in vmware fusion? problem #1: space cadet! on the moon the gravitational force is less, which means a person only weighs 1/6 of their normal weight on the moon. prompt the user for their weight and then tell them what they would weigh on the surface of the moon. • user input (ask & validate in main method, use as arguments): o astronaut’s weight (in pounds) • return value from custom function: o weight on the moon • result to print to the console in the main method: o “on earth you weigh x lbs, but on the moon you would only weigh y lbs.” • data sets to test o astronaut’s weight – 160 § results-“onearthyouweigh160lbs, butonthemoonyouwouldonly weigh 26.67 lbs.” o astronaut’s weight – 210 § results-“onearthyouweigh210lbs, butonthemoonyouwouldonly weigh 35 lbs.” o astronaut’s weight – one hundred pounds § results–re-promptfornumbervalue. o test one of your own and put all 4 of these test values in a multi-lined comment at the end of your code.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
What can you find the under the privacy policy section of a shopping website?
Answers: 1
question
Computers and Technology, 22.06.2019 10:30
Auniversity wants to install a client-server network. which feature do you think is important for them as they set up the network? sending email blocking multiple people to use the same file low security low set up cost limited access to files
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What is used to analyze and summarize your data without graphical support
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Which text format is this, "the text is transcribed exactly as it sounds and includes all the utterances of the speakers. "?
Answers: 2
You know the right answer?
Code in vmware fusion? problem #1: space cadet! on the moon the gravitational force is less, whic...
Questions
question
Mathematics, 16.07.2019 13:10
question
Mathematics, 16.07.2019 13:10
Questions on the website: 13722363