+ 1
If you want print this figure 1234567654321
{ int I, j; for (i=1;i <7;i++) cout <<i; for(j=i;j>0;j--) cout <<j; return 0; }
2 Answers
+ 2
{
int I, j;
for (i=1;i <=7;i++)
cout <<i;
for(j=6;j>0;j--)
cout <<j;
return 0;
}
+ 1
my solution đđ
{ int I, j; for (i=1;i <7;i++) cout <<i; for(j=i;j>0;j--) cout <<j; return 0; }