#include <iostream>
using namespace std;
int main (void)
{
int i,j;
freopen("out.txt","w",stdout);
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
cout<<6-j;
cout<<"\n";
}
}
The Output is Given Below:
5 54 543 5432 54321
0 comments:
Post a Comment