loop and or in c++ code example
Example 1: how to make a Loop in c++
for (int i; i < 10; i++)
{
cout << i << "\n";
}
Example 2: For Loop in C++
for (<exp_1>; <exp_2>; <exp_3>){
// loop body
}
for (int i; i < 10; i++)
{
cout << i << "\n";
}
for (<exp_1>; <exp_2>; <exp_3>){
// loop body
}