Code:
#include<iostream>
using namespace std;
void main()
{
int squre = 5;
for(int i = squre;i>0;i--)
{
for(int j = squre;j>0;j--)
{
cout<<j;
}
cout<<endl;
}
}
Output:
#include<iostream>
using namespace std;
void main()
{
int squre = 5;
for(int i = squre;i>0;i--)
{
for(int j = squre;j>0;j--)
{
cout<<j;
}
cout<<endl;
}
}
Output:
0 Questions:
Post a Comment