+ 1

While loop, for, and do while loop

can all of these functions work together?

1st Mar 2018, 4:08 AM
Darryl D Brown
Darryl D Brown - avatar
4 Antworten
+ 17
yes they can , its probably when u need to do execute some statement atleasy once + U know number of iterations u want to make + U want to make iteration n no. of times //these are nested , used accn to need of program & to manage space
1st Mar 2018, 4:51 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 4
yes they can but I don't think a situation where it will be necessary to use all three together ever happens.most of the time we use nested for loops
1st Mar 2018, 4:13 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 2
OMG love your badges what are you studying code for Brain?
1st Mar 2018, 4:20 AM
Darryl D Brown
Darryl D Brown - avatar
+ 1
ok thanks
1st Mar 2018, 4:15 AM
Darryl D Brown
Darryl D Brown - avatar