Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Scientists measure an objects mass in kilograms and its weight in Newtons. If you know the amount of mass that an object has, you can
Scientists measure an objects 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 9.8
Write a complete program that asks the user to enter an objects mass, and then calculate its weight. If the object weighs more than 1,000 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.
Using Java language please
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started