Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
QUESTION
I know this looks long but I do not need the code at all. All i need is about 2 paragraphs explaining how you would go about writing the code and...
printMain: This is the method to call for generating a formatted output. The method takes three parameters a String array words, an int width, and an int option, they respectivelyspecifiythe String array to be printed, the output width, and the formatting option (0, 1, or 2 ). n output string array, whose contents are used in the above. So that it can be accessed from outside,public static attributes are attached to it.Using the methodprintOneLineas a method to call, design the code that prints the entire array in the specified format. main: This is the main method of the class. The code is already there. It receives from the user the width and then prints the array in the three different formats.
Show more