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 11:30
What does a cascading style sheet resolve a conflict over rules for an element? a. the rule affecting the most content wins b. the rule affecting the most content loses c. the rule with the most specific selector loses d. the rule with the most specific selector wins
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
Jenny needs to record the names of 30 students, write down the subjects they studied, and note their grades in each subject after the midsemester exams and the end-of-semester exams. she divides the midsemester and end-of-semester information into two separate worksheets, sheet 1 and sheet 2. how will she rename the two worksheets?
Answers: 2
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, 16.07.2019 05:00
Questions on the website: 13722362