Tuesday, 25 August 2015

54321 54321 54321 54321 54321

#include"stdafx.h"
#include<iostream>
usingnamespace std;
int main()
{
for(int i=1; i<=5; i++)
{
for(int j=1; j<=5; j++)
{
cout<<(5-j)+1;
}
cout<<endl;
}

system("pause");
return  0;
}

No comments:

Post a Comment