Aktualizovat „du4/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-04-03 00:06:25 +00:00
parent 37145fb7db
commit 72fc100235

View File

@ -53,7 +53,11 @@ int main()
{ {
char str[100][100]; char str[100][100];
char b; char b;
int quan =1;
for(int i =0;fgets(str[i],100,stdin);i++){ for(int i =0;fgets(str[i],100,stdin);i++){
if(str[i][0]=='\n'){
break;
}
char *new_str = compactString(str[i],strlen(str[i])); char *new_str = compactString(str[i],strlen(str[i]));
double first =-5,second =-5,res=-5; double first =-5,second =-5,res=-5;
char c='E'; char c='E';
@ -73,5 +77,6 @@ int main()
} }
} }
return 0; return 0;
} }