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...


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.



Dec 08, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here