Skip to content

Instantly share code, notes, and snippets.

Last active May 21, 2017
What would you like to do?
import java.util.*;
public class JPA01 {
public static void main(String []args) {
System.out.print("Please input: ");
Scanner input = new Scanner(;
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