package kg.to.pounds;
import java.io.*;
public class KGToPounds {
public static void main(String[] args) throws Exception {
//1 kilograms = 2.20462262 puonds;
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter the Kilogram:");
int kilo = Integer.parseInt(bf.readLine());
double pound = kilo * 2.20462262;
System.out.println("Pounds: " + pound);
}
}
No comments:
Post a Comment