English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

for(int i=1;i<10;i++){
for(int j=1ji<10;j++){
//for now it's nested loops
}
//what if we have something like
for(int j=1ji<10;j++){
//you c there are 2 nested loops in the same level
}
}

and what about this loop
for(int i=0,j=5;i<=5;i++,j++){
i used this once to fill a bigger array with vals of a small array
}

2006-11-22 18:51:52 · 2 answers · asked by Rami 5 in Computers & Internet Programming & Design

2 answers

Not every loop has to have a name. They are simply loops

2006-11-22 19:46:38 · answer #1 · answered by Smutty 3 · 0 0

I call them loops, because that is what they are called. In this particular case, they are all "for loops".

Rawlyn.

2006-11-23 04:14:14 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers