Question: JAVA CODE! i need the code and results Assignment 2C: Useful Conversions: We are familiar with converting information from one format to another. For example,

JAVA CODE! i need the code and results JAVA CODE! i need the code and results Assignment 2C: Useful Conversions:

Assignment 2C: Useful Conversions: We are familiar with converting information from one format to another. For example, in lecture we learned how to convert temperature from Fahrenheit to Celsius. For this assignment, you will use constants to develop equally useful conversion tools. You will build a program that asks users for a number in meters. You will then calculate how far that is in the following units of measure: - Distance to the Moon - Animal Crackers Refer to the sample output to see the conversion rates. You will use constants to store the conversion rate - points will be deducted if you do not use those constants in the program calculations. The algorithm output is as shown below, with user input in bold. Follow the output format. Save your source code in a file called Assignment2C (with a file extension of .cpp, .cs or java) Note: It is fine if your program shows the decimals in scientific notation format, as long as the calculation itself is correct. Sample Output \#1: [Distance Calculator] How many meters? 1 1 meter(s) is... ...0.0000000026 distance from the Moon ..40 Animal Crackers long

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!