Will post on appropriate forum.. sorry.

What I have simply spits out the multiplication tables from 1 to 12.

Now if you have the above, then all you need to do is get the user to input (using Scanner or Console or BufferedReader and just before your "for" loops starts) from the Console up to what value he wants the tables to print and just replace 12 with that variable name.

Also as far as formatting your output is concerned you might want to look at the System.out.printf()[Resources : 1,2,3] method.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.