Thread
:
Print a blank space
View Single Post
#
2
(
permalink
)
07-30-2007, 11:21 AM
Swamipsn
Member
Join Date: Jul 2007
Posts: 72
public class ex1
{
public static void main(String args[])
{
int i,j;
for(i=1;i<=6;i++)
{
for(j=1;j<=i;j++)
{
System.out.print(" *");
}
System.out.println("");
}
}}
I think it would give the result eaxctly wanted by you
Swamipsn
View Public Profile
Send a private message to Swamipsn
Find all posts by Swamipsn