Program:
public class PundsToKelogramConversion {
public static void main(String[] args) {
double inpitInpoundds = 12.90d;
double onePound = 0.45359237;
double poundToKillogram = inpitInpoundds * onePound;
System.out.println(inpitInpoundds + " Converted inKillograms =" + poundToKillogram);
}
}
public class PundsToKelogramConversion {
public static void main(String[] args) {
double inpitInpoundds = 12.90d;
double onePound = 0.45359237;
double poundToKillogram = inpitInpoundds * onePound;
System.out.println(inpitInpoundds + " Converted inKillograms =" + poundToKillogram);
}
}
No comments:
Post a Comment