capslock
This commit is contained in:
parent
4fd5bd1b73
commit
a01bf4c6af
@ -14,10 +14,13 @@ int main() {
|
|||||||
if (c == '\n') {
|
if (c == '\n') {
|
||||||
lineCount++;
|
lineCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
putchar(c);
|
putchar(c);
|
||||||
}
|
}
|
||||||
|
if((c = getchar()) == EOF){
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
printf("\nLines␣count: %d\n",lineCount);
|
printf("\nLines␣count: %d\n",lineCount);
|
||||||
|
Loading…
Reference in New Issue
Block a user