Update a1/program.c

This commit is contained in:
Viktor Daniv 2024-10-26 19:22:12 +00:00
parent 0b24f345da
commit b40173d693

View File

@ -34,7 +34,7 @@ void serch_zatv(char vhod[MAX]){
} }
for(int i = 0; i < idt; i++){ for(int i = 0; i < idt; i++){
if(vhod[idx] = find[i]){ if(vhod[idx] == find[i]){
find[i] = "."; find[i] = ".";
for(int r = i + 1; i < idt; r++){ for(int r = i + 1; i < idt; r++){
if(find[r] != "." || find[r] != "\0"){ if(find[r] != "." || find[r] != "\0"){