Wednesday, June 14, 2017

t7.c

#include <stdio.h>

int main (void)
{
    int a[100], result;
    int i; int y = 0;
        while(scanf("%d", &i) == 1){
                for (y=0; y< i; y++){
                printf("#");
                }
                printf("\n");
        }
        return 0;
}

No comments:

Post a Comment