how to print the different variable values in for loop c++ code example
Example: for loop in c++
for (int i = 0; i < 10; i++)
{
cout << i << endl;
}
for (int i = 0; i < 10; i++)
{
cout << i << endl;
}