Question: Assignment Content Scientists measure an objects mass in Kilograms and its weight in newtons. If you know the amount of mass of an object in

Assignment Content

  1. Scientists measure an objects mass in Kilograms and its weight in newtons.

    If you know the amount of mass of an object in Kilograms, 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 objects mass, then calculates its weight.

    • If the object weighs more than 500 newtons, display a message indicating that it is too heavy.
    • If the object weighs less than 100 newtons, display a message indicating that it is too light.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!