implemented lying

This commit is contained in:
savelev.g 2024-12-26 09:12:21 +04:00
parent 87c3ae0e24
commit da036259f2

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 no such symbol"); break; }
if (i >= strlen_1st(s1)) { printf("there's is such symbol"); break; }
}
return i;
}