55555
45555
34555
23455
12345
int main()
{
int i, j, k;
for(i=5;i>=1;i--)
{
k = i;
for(j=1;j<=5;j++)
{
if(k <= 5)
{
printf("%d",k);
}
else
{
printf("5");
}
k++;
}
printf("\n");
}
return 0;
}
A Tech publication for all. Get Knowledge about Web Development, Programming, and trending news, tutorials, and tools for beginners to experts.
Subscribe to:
Post Comments (Atom)
Featured post
🛠 Ultimate Worldwide Database Bundle for Developers & SaaS Apps
🌍 World Geo Data — Full Country, State, City & Currency Dataset This repository provides an overview of the World Geo Data digital pro...
No comments:
Post a Comment