import java.io.*; import java.util.*; class GmsToPounds{ public static void main (String[] args)throws Exception{ //1 gram = 0.00220462262 pounds; BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter the Grams:"); int gram = Integer.parseInt(bf.readLine()); double pound = gram * 0.00220462262; System.out.println("Pound: " + pound); } }