Output result question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

12th Sep 2021, 1:51 AM
STOP
STOP - avatar
2 Answers
12th Sep 2021, 3:15 AM
Sai Sudarshan B V
+ 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); } }
12th Sep 2021, 3:18 AM
Sai Sudarshan B V