#include#include int main(){ char str; int count = 1; int start = 1; while (1) { printf("input your line\n"); do { scanf("%c", &str); if (start == 1) { printf("%d.", count); start = 0; } printf("%c", str); } while (str != '\n'); start = 1; count++; }}