large;"> for(c=1; c<=r; c++)
printf("%d",c);
for(z=1; z<r; z++)
{
printf("%d",z);
break;
}
printf("
");
}
getch();
return 0;
}
The output of above program would be:
printf("%d",c);
for(z=1; z<r; z++)
{
printf("%d",z);
break;
}
printf("
");
}
getch();
return 0;
}
The output of above program would be:
![]() |
Figure: Screen shot for Number Triangle Design C program |
0 comments:
Post a Comment