English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1 answers

This is the exact for loop to print 5 rows

for( int i=1;i<6;i++)
{
for(int j=1;j<=i;j++)
{
printf("%d",,j);
}
printf("\n");
}

2007-03-16 01:13:22 · answer #1 · answered by uday's 1 · 1 0

fedest.com, questions and answers