Visit www.myprogramminglab.com to complete this Programming Challenge online and get instant feedback.
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 5 Mass 3 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 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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here