Ok I got it!
You mean when you give any value in the commandline, the program should print that value in row-wise hundred times?
<code>
java Hundred 10
output:
10 10 10 10 10 10 10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10 10 10
</code>
Try using forloop and
System.out.print statement instead of
System.out.println I can write the code here but its good if you try it on you own.
try to refer JDK API documentation for help regarding those print methods
cheers
Siva Prasad
[This message has been edited by Siva Prasad (edited March 09, 2001).]