![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Oct 2004
Posts: 31
Rep Power: 0
![]() |
I am having difficulty in understanding nested loops .could anybody help me with these please.(in writing code)
* * * * * * * * * * ******* ****** ***** **** *** ** * * ** *** **** ***** |
|
|
|
|
|
#2 |
|
Programming Guru
![]() |
I'll put a bit of PSEUDO code for you this has already been done in another post somewhere...
FOR (int i = 0;i<6;i++)
for (int j=0;j<i;j++)
print(*)
end for
end forthat should work now code it ![]() (even if it is prittey smilar to what i have put there)
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity." - Albert Einstein |
|
|
|
|
|
#3 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
That's not pseudo-code... that's C++ with a few words changed.
|
|
|
|
|
|
#4 | |
|
Programming Guru
![]() |
Quote:
__________________
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|