Question: public class Main { // Method to conert pounds to kilograms public static double pounds ToKilogram (double pound) { } return 0.45454 * pound;

public class Main { // Method to conert pounds to kilograms public static double pounds ToKilogram (double pound) { } return 0.45454 * pound; // Method to convert kilograms to Pound public static double kilogram To Pound (double kilogram) { } return 2.2* kilogram; public static void main(String[] args) { // Displaying the results System.out.println("Kilograms Pounds | Pounds Kilograms"); System.out.println("---- ------"); for(int i = 1, j = 20; i < 200 && j < 520; i += 2, j+= 5) { System.out.println(" " + i + "1 String.format("%.2f", pounds ToKilogram (j))); } } } " + String.format("%.1f", kilogram To Pound(i)) + "| " + j + " " +
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
