write a program, called Kg, that converts the following integer values 5,40,85 and 120 kilograms to pounds (1lb= .454kg) and displays the result to the monitor. create 4 integer variables to hold the 4 kg values. similarly, you can create 4 double variables to hold the 4 ib values
2007-03-01
23:23:22
·
3 answers
·
asked by
LULU
1
in
Computers & Internet
➔ Programming & Design
SOLVE it with JAVA
Part B
Write a program, called Kg, that converts the following integer values 5, 40, 85 and 120 kilograms to pounds (1 lb = .454kg) and displays the result to the monitor. Create 4 integer variables to hold the 4 kg values. Similarly, you can create 4 double variables to hold the 4 lb values.
Sample output:
5 kg = 11.01 lb
40 kg = 88.10 lb
85 kg = 187.22 lb
120 kg = 264.31 lb
2007-03-02
00:21:26 ·
update #1