Aktualizovat „du5/program.c“
This commit is contained in:
parent
ce83440de1
commit
68c0d64848
@ -38,7 +38,7 @@ int main(){
|
|||||||
int score=0;
|
int score=0;
|
||||||
int c =0;
|
int c =0;
|
||||||
char str[100];
|
char str[100];
|
||||||
while(fgets(str,100,stdin)){
|
while(fgets(str,100,stdin)!=EOF){
|
||||||
if(isalpha(str[0])!=0||str[0]=='\n'){
|
if(isalpha(str[0])!=0||str[0]=='\n'){
|
||||||
if(c==0){
|
if(c==0){
|
||||||
printf("Nepodarilo nacitat nic\n");
|
printf("Nepodarilo nacitat nic\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user