#include<stdio.h>
#include<string.h>
#define SIZE 81
#define STOP "quit"
#define LINE 10
int main(void)
{
char input[LINE][SIZE];
int ct = 0;
// int num;
printf("please input %d line(type quit to quit):\n", LINE);
while(ct < LINE && strcmp( gets(input[ct]), "") != NULL && strcmp(input[ct], STOP) != 0)
{
ct++;
puts(input[ct]);
}
printf("there are %d line \n.", ct);
}