Hi jjb1989
System.out.print() or System.out.println() is the invocation of the the method print() or println() of the Class PrintStream PrintStream (Java 2 Platform SE v1.4.2)
the print() method...
Type: Posts; User: Voodoo
Hi jjb1989
System.out.print() or System.out.println() is the invocation of the the method print() or println() of the Class PrintStream PrintStream (Java 2 Platform SE v1.4.2)
the print() method...
oh...i misread your posting, terribly sorry. Here is the tweak:
while ( line_number <= 8 )
{
String tmp = "";
if ((line_number & 1) == 0) tmp = " ";...
by the way try this:
...
while ( line_number <= 8 )
{
String tmp = "";
while ( asterisk_amount <= 8 )
{
...by the way, try this:
[
sorry UBUNTU not ubunto>:)
Hey, what is your OS? On my PC (Windows Vista and Ubunto) it works! Have you this statement System.out.println("\n");?
insert the "\n" as following :cool:
public class Exe432
{
public static void main(String[] args)
{
int line_number = 1;
int asterisk_amount = 1;