subject
Computers and Technology, 17.01.2020 19:31 kasey59

Mass and weight
scientists measure an object’s mass in kilograms and its weight in newtons. if you know the amount of mass that an object has, you can calculate its weight, in newtons, with the following formula:

weight = mass x 9.8

write a program that asks the user to enter an object’s mass, and then calculate its weight. if the object weighs more than 1000 newtons, display a message indicating that it is too heavy. if the object weighs less than 10 newtons, display a message indicating that the object is too light.

note: you must use the joptionpane class to read input (input dialog box) and display output (message dialog box). also, remember that the public class and the filename of the source code file must match.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:00
Kirk found a local community college with a two-year program and he is comparing the cost with that of an out-of-state two-year school. what is the expected total cost for one year at the local community college if kirk lives at home? what is the expected total cost for one year at the out-of-state school if kirk lives on campus?
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
What machine listens for http requests to come in to a website’s domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
question
Computers and Technology, 23.06.2019 12:40
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c.transactions o d. rent tab
Answers: 1
question
Computers and Technology, 24.06.2019 15:40
In the above figure, what type of cylinder arrangement is shown in the figure above? a. l-type b. v-type c. in-line d. horizontal pls make sure its right if its rong im grounded for 3months
Answers: 1
You know the right answer?
Mass and weight
scientists measure an object’s mass in kilograms and its weight in newtons. if...
Questions
question
Mathematics, 17.03.2020 04:58
question
Mathematics, 17.03.2020 04:58
Questions on the website: 13722360