Hi i am finding this a challenge.I am suppose to get
12345
12345
but my below code is giving me
1112314151
1222324252
what mistake am i making?
#include <iostream>
using namespace std;
int main()
{
int row,column;
for(row=1;row < 3;row++)
{
for(column=1 ;column < 6; column++)
cout <<column<< row <<' ';
cout <<endl;
}
return (0);
}