Last active
May 21, 2017 16:05
-
-
Save peter279k/ef011477da10ded29395f8db7c458ae2 to your computer and use it in GitHub Desktop.
TQC+ JAVA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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