Integers boxWeight and boxLength are read from input. Output the following:
boxWeight with a +/- sign, 0's as padding, and a minimum of 6 characters.
boxLength left-aligned and a minimum of 8 characters.
End each output with a newline.
Ex: If the input is 61 16, then the output is:
+000061
16
1 import java.util.Scanner;
2 public class OutputFormatter {
4 public static void main(String[] args) {
5 Scanner scnr = new Scanner(System.in);
6 int boxWeight;
7 int boxLength;
8
9 boxWeight = scnr.nextInt();
10 boxLength = scnr.nextInt();
11
12 /* Your code goes here */
13
14 }
15}