@@ -0,0 +1,1168 @@
+package java_problems.introduction;%0D%0A%0D%0A/*%0D%0A * Take exactly 3 lines of input. Each line consists of a string and an%0D%0A * integer.  The strings will have at most 10 alphabetic characters and the%0D%0A * integers will range between 0 to 999.%0D%0A * %0D%0A * In each line of output there should be two columns. The string should be in%0D%0A * the first column and the integer in the second column.%0D%0A * %0D%0A * The first column should be left justified using exactly 15 characters. The%0D%0A * integer of the second column should have exactly 3 digits. If the original%0D%0A * input has less than 3 digits, you should pad with zeros to the left.%0D%0A * %0D%0A * Sample input:%0D%0A * %0D%0A * java 100%0D%0A * cpp 65%0D%0A * python 50%0D%0A */%0D%0Aimport java.util.*;%0D%0A%0D%0Apublic class JavaOutputFormatting %7B%0D%0A%0D%0A%09public static void main(String%5B%5D args) %7B%0D%0A        Scanner sc = new Scanner(System.in);%0D%0A        System.out.println(%22================================%22);%0D%0A        for(int i = 0; i %3C 3; i++) %7B%0D%0A        %09String s1 = sc.next();%0D%0A            int x = sc.nextInt();%0D%0A            System.out.printf(%22%25-15s%2503d %25n%22, s1, x);%0D%0A        %7D%0D%0A        System.out.println(%22================================%22);%0D%0A        sc.close();%0D%0A    %7D%0D%0A%7D

Add JavaOutputFormatting