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 13:00
Which option should u select to ignore all tracked changes in a document
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Which of the statements below describe the guidelines for the use of text in presentation programs? a. do not use numbered lists. b. fonts should be appropriate for your audience. c. limit the number of fonts you use to three or four. d. only use bulleted lists for sales promotions. e. select font sizes that are appropriate for your delivery method. f. use font colors that work well with your background. select all that apply
Answers: 1
question
Computers and Technology, 25.06.2019 02:30
On the pie chart below, which “slice” represents 30% of the budget?
Answers: 2
question
Computers and Technology, 25.06.2019 06:10
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game behind everything else d. in front of everything else select the best answer from the choices provided
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, 10.03.2021 01:00
question
Mathematics, 10.03.2021 01:00
question
Mathematics, 10.03.2021 01:00
question
Mathematics, 10.03.2021 01:00
question
Computers and Technology, 10.03.2021 01:00
question
Mathematics, 10.03.2021 01:00
Questions on the website: 13722363