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