Predict the output
#include iostream
using namespace std;
int main() {
for(int row=0;row5;row++)
{
for(int col=0;colrow+1;col++)
{
coutcol+1;
}
coutendl;
}
}

Posted on by