1public class ProgrammingEx5_3 {
2
3 public static void main(String[] args) {
4 final int END = 199;
5
6 //printing table header
7 System.out.printf("%9s%15s\n","Kilograms","Pounds");
8
9 for(int i=1; i<=END;i++ ){
10 System.out.printf("%-9d%15.1f\n",i,i*2.2);
11
12 }
13
14
15 }
16
17}
18