public class Exercise1 { public static void main(String[] args) { int inch = 20; double cm = inch * 2.54; System.out.printf(" %d inch" , inch); System.out.printf(" %f cm" , cm); // System.out.printf(" %d inch = %f cm", inch); /*My understanding of prompt was it's meant to fail but it doesn't like when other codes have errors so I commented it out*/ } }