- 2
Scientists measure an objectâs mass in kilograms and its weight in newtons. If you know the amount of mass of an object in kilog
weight=massĂ9.8weight=massĂ9.8 Write a program that asks the user to enter an objectâs mass, and 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.
3 Answers
+ 4
Ashade Philip ,Practicing. really?
You have just put this problem in QA forum asking for ready made code. How does it help you practice?
You only need to know about operators and if-else construct so at least show some efforts from your side.
+ 3
Ashade Philip ,
hello đ.
You can't tell us to write program for you.
First of all you need to try it yourself and in case you face problem in coding you can ask here. If you just ask others to write code you'll not get to learn anything.
0
I am beginner OK and am practicing