# : Chapter 4: Making Decis ions I. Mass and VWeight (Nr 2, Page 282) Scientists measure an object’s mass in kilograms and its weight in

: Chapter 4: Making Decis ions
I. Mass and VWeight (Nr 2, Page 282)
Scientists measure an object’s mass in kilograms and its weight in Newton. If you know the
amount of mass of an object, you can calculate its weight, in Newtons, with the following formula:
Weight = Mass x 9.8
Create an application that lets the user enter an object’s mass and then calculates its weight. If
the object weighs more than 1000 Newtons, display a message in a Label control indicating that
it is too heavy and change the background colour of the label to red. If the object weighs less
than 10 Newtons, display a message in a Label control indicating that it is too light and change the
background colour of the label to blue. Otherwise display the weight, and change the background
colour of the label to green.
See example of graphical user interface and output:
Newton converter
Newton converter
Enter the mass (kg) :
Enter the mass kg): 1
Convert to mass (Newton)
Convert to mass (Newton)
It is too light.
Exit
Exit
Newton converter
Newton converter
Enter the mass (kg): 50
Enter the mass kg): 900
Convert to mass (Newton)
Convert to mass (Newton)
The weight is 490.
It is too heavy.
Exit
Exit

Calculate your essay price
(550 words)

Approximate price: \$22

## How it Works

1

It only takes a couple of minutes to fill in your details, select the type of paper you need (essay, term paper, etc.), give us all necessary information regarding your assignment.

2

Once we receive your request, one of our customer support representatives will contact you within 24 hours with more specific information about how much it'll cost for this particular project.

3

After receiving payment confirmation via PayPal or credit card – we begin working on your detailed outline, which is based on the requirements given by yourself upon ordering.

4

Once approved, your order is complete and will be emailed directly to the email address provided before payment was made!