need help with a small java program
Write a program that prompts the user to enter the mass of a person in kilograms and outputs the equivalent weight in pounds. Output both the mass and the weight rounded to two decimal places. (Note that for standard Earth gravity, 1 kilogram = 2.2 pounds.) Format your output with two decimal places.
Your answer should use dialog boxes for the input/output statements.
Submit your compiled Java code for this assignment, compress the .java file into a single .zip file.
12 years ago 5
Answer(1)
Purchase the answer to view it
- weight.java
- weight.class
Bids(0)
other Questions(10)
- Finance 1a
- smartwriter
- Need solution
- Briefly explain the internal factors affecting vegetative and reproductive growth of plants
- Explain how the presence of differentiated products and economies of scale can lead to trade.
- What force acts in the opposite direction of an aircrafts motion slowing it down?
- Many people do not have enough food to eat
- If m∠UST = m∠PQU, which lines are parallel?
- if a right angled triangles base is 9.5cm and the height is 3 what is the length of the other...
- ms. project