Question: please help me do java project 1.Write a program that reads a number in ounces, converts it to grams, and displays the result. One ounce

please help me do java project
1.Write a program that reads a number in ounces, converts it to grams, and displays the result. One ounce is 28.3495 grams. Here is a sample run:
Enter a value for ounces: 15.4
15.4 ounces is 463.5823
2. Calculate the energy using the famous equation for special relativity:
E=m x c ^2
Where m is the mass (in kilograms) and c is the speed of light. The speed of light is 299,972,458 m/s.

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!