Three nested for loops in cplusplus programming language to evaluate loop learning and nested loop learning methods.
#include <iostream>
using namespace std;
void main ()
{
for (int i=1;i<=3;i++)
{
for(int j=1;j<=3;j++)
{
for(int k=1;k<=3;k++)
{
cout<<i<<j<<k<<",";
}
}
}
}