0
Output result question
https://code.sololearn.com/cPEs9NdHu0Vp/?ref=app I want the output like this : Insert the weight in lb 100 It’s equal to: 45.454548 I want it as full code
2 Respuestas
+ 1
STOP
Here's your code
https://code.sololearn.com/cGQIHzi705xw/?ref=app
+ 1
STOP
import java.util.Scanner;
class MyClass {
public static void main(String[ ] args) {
Scanner in = new Scanner (System.in);
Double pound = in.nextDouble();
System.out.println( pound *0.454548);
}
}