Hello everyone I am a college student learning c++ and I am not understanding why you put a "For loop" inside of another one. What advantage does it have and what can you use it for.
For example:
for (int i = 0; i < 5; i++){
for (int g = 0; i < 5; g++)
{
}
}
thank you