Why initialization for while and do while loop statements not discussed in the C++ tutorials? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why initialization for while and do while loop statements not discussed in the C++ tutorials?

I guess it is important to discuss also the initialization parts in the do while and while looping statements since not all users are experienced programmer.

21st Jun 2017, 2:31 AM
Herlem A. Martinez
Herlem A. Martinez - avatar
2 Answers
+ 3
Courses > C++ Tutorial > Module 2 > Conditionals and loops > The while loop || The for loop It's the first page of either. If you need more help than that just ask.
21st Jun 2017, 2:48 AM
ChaoticDawg
ChaoticDawg - avatar
+ 3
it is presented in the examples given although not discussed. I think it assumed knowledge from the previous modules on variables that data must be present in them before they are used.
21st Jun 2017, 3:54 AM
jay
jay - avatar