Skip to content

Instantly share code, notes, and snippets.

@peter279k
Last active May 21, 2017
Embed
What would you like to do?
TQC+ JAVA
import java.util.*;
public class JPA01 {
public static void main(String []args) {
System.out.print("Please input: ");
Scanner input = new Scanner(System.in);
double num = input.nextDouble();
System.out.printf("%.6f kg = %.6f\r\n", num, num * 2.20462);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment