How do I do this program? I'm new to Java programming...
Suppose you want to print out numbers in brackets, formatted as follows:    and so on. Write a method that takes two parameters: howMany and lineLength. The method should printout line numbers from 1 to howMany in the previous format, but it should not output more than lineLength characters on any one line.
January 27, 2011 at 11:33 AM
public static void main(String args)
Scanner input=new Scanner(System.in);
System.out.print("How many numbers do you want to enter: ");
System.out.print("Length of Line: ");
January 27, 2011 at 6:40 PM
Thanks so much! I have 1 doubt, the question says it should not output more than lineLength "CHARACTERS" on any one line. That means it counts the entire    as a character. Any help with this?