#include <stdio.h>
int main (void)
{
int a[100];
int i; int x = 0; int y = 0;
do
{
for (i=0; a[i] != 0; i++){
scanf("%d", &a[i]);
for (y=0; y< a[i]; y++){
putchar('#');
}
printf("%s", "\n");
}
}while (1);
return 0;
}
No comments:
Post a Comment