To print out this output
********
* *
* *
* *
* *
right now i have the top row and the left aligned stars, but cant get the right aligned ones.
could someone please steer me in the right direction as to how to get them to be in line with the other side? thanks
********
* *
* *
* *
* *
right now i have the top row and the left aligned stars, but cant get the right aligned ones.
Code:
int HorizLine, VertLine;
for (HorizLine=1; HorizLine<=1; HorizLine++)
{
for (VertLine=1; VertLine<=10; VertLine++)
{
System.out.print("*");
}
System.out.print("");
}//row of solid asteriks
for (HorizLine=1; HorizLine<=4; HorizLine++)
{
for (VertLine=1; VertLine<=1; VertLine++)
{
System.out.print("\n");
System.out.print ("*");//left aligned asteriks
could someone please steer me in the right direction as to how to get them to be in line with the other side? thanks