import java.util.Scanner;public class Convertor { public static void main(String[] agrc) { Scanner sc = new Scanner(System.in); System.out.println("Please enter the values in pounds"); double pounds = sc.nextDouble(); System.out.println("Value in kilos " + pounds/2.2); }}
Comments