#include<stdio.h>
int main()
{
int x,y,z;
printf("*\n");
for(x=1;x<10;x++){
printf("*");
for(y=1;y<=x;y++){
printf(" ");
}
printf("*\n");
}
for(z=1;z<=10;z++)
{printf("*");}
printf("**");
printf("\n");
return 0;
}
No comments:
Post a Comment