decided not to lie

This commit is contained in:
savelev.g 2024-12-26 09:12:43 +04:00
parent da036259f2
commit 5c2c504b06

View File

@ -41,7 +41,7 @@ int strchr(char s1[], char sym) {
int i = 0;
while (s1[i] != sym) {
i++;
if (i >= strlen_1st(s1)) { printf("there's is such symbol"); break; }
if (i >= strlen_1st(s1)) { printf("there's no such symbol"); break; }
}
return i;
}