add file
This commit is contained in:
parent
f88828014b
commit
5b551900e6
@ -1,12 +1,15 @@
|
|||||||
#include<stdio.h>
|
#include<stdio.h>
|
||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
int counter=1, Sym;
|
int counter=0, Sym;
|
||||||
char OutSym;
|
char OutSym;
|
||||||
|
|
||||||
while(1){
|
while(1){
|
||||||
Sym=getchar();
|
Sym=getchar();
|
||||||
if(Sym==EOF || Sym==0){
|
if(Sym==0){
|
||||||
|
counter++;
|
||||||
|
}
|
||||||
|
if(Sym==EOF){
|
||||||
counter++;
|
counter++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user