It's a very small difference but unsettling, i checked the code and both are practically the same (intro to java (10th))
The question is to display the values next to each other as you can see in the first s.o.p the feet to meter | meters to feet.
public class Exercise_06_09 { public static void main(String[] args) { System.out.println("Feet Meters | Meters Feet"); for(double i = 1.0, j = 20.0; i < 11; i++, j+=5){ //i = feet and j = meters System.out.printf("%-6.1f", i); //feet 1.0 to 10.0 System.out.printf("%-15.3f|", footToMeter(i)); //Conversion System.out.printf(" %-15.1f", j); //Meters 20.0 to 65.0 System.out.printf("%7.3f\n", meterToFoot(j)); //Conversion } } public static double footToMeter(double foot){ return 0.305 * foot; } public static double meterToFoot(double meter){ return 3.279 * meter; } }