programmingex5 3 java

Solutions on MaxInterview for programmingex5 3 java by the best coders in the world

showing results for - "programmingex5 3 java"
Raphael
25 Apr 2018
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
similar questions
queries leading to this page
programmingex5 3 java