Results 1 to 3 of 3
Thread: I need some help
- 08-29-2013, 03:15 AM #1
Member
- Join Date
- Aug 2013
- Posts
- 1
- Rep Power
- 0
I need some help
Ok so i am trying to make a half diamond out of *'s and just something is going wrong I need some help.
public class learning
{
public static void main(String[] args)
{
int input = Integer.parseInt(args[0]);
{
for(int i = 1; i<input; i++)
for(int j = 1; j<input; j++)
{
System.out.println("*");
}
}
}
}
- 08-29-2013, 03:22 AM #2
- 08-29-2013, 03:53 AM #3
Re: I need some help
Please go through the Forum Rules with special reference to the third paragraph. Also go through the http://www.java-forums.org/forum-gui...w-members.html and BB Code List - Java Programming Forum - Learn Java Programming and edit your post accordingly.
dbIf you're forever cleaning cobwebs, it's time to get rid of the spiders.
Bookmarks