This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!

ken dodd

Greenhorn
+ Follow
since Oct 19, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ken dodd

cheers for the replys
I did figure out how to get the loops to print

but I wrote the second program the wrong way round and needed to produce this
//***** Please ignore the ///
///****
////***
/////**
//////*
I have changed the above prog as this

and end up with this
*****
****
***
**
*
I have tried changing the values and making the >= change but just end up with never ending loops. I just need to be pointed in the right direction as 5 hrs to working this out is doing my head in.
cheers
ken
[This message has been edited by ken dodd (edited October 21, 2001).]
[This message has been edited by Cindy Glass (edited October 23, 2001).]
18 years ago
cheers jason here's what I have at the mopublic class triangle
{
public static void main (String args [])
{
for (int i = 0; i < 5; ++i);
{
for (int a = 0 ; a < 5; ++a);
System.out.println("*");
}
}
}
I get it to print 1 * out but thats it haven't done much on operators yet but will try to figure it out
cheers
ken
18 years ago
Hi all need to find out how to produce this using for loops
*
**
***
****
*****
I can't quite get my head round this and need to get this to work for college. I will then need to do another application which goes the othre way
*****
****
***
**
*
If anyone would like to help this poor lad and put him out of his misery I would be grateful
TIA
ken
18 years ago