update README.md

This commit is contained in:
Stepan 2026-05-08 19:58:23 +03:00
parent fc63414ad5
commit 96f48505a7
2 changed files with 12 additions and 3 deletions

View file

@ -1 +1 @@
МДААААААА
)(*&^%$%^&*()(*&^%$%^&*()(*&^%$%^&*()(*&^%$#$%^&*))))

13
c/l8.c
View file

@ -2,11 +2,20 @@
#include <string.h>
int main() {
char pol[100];
printf("Enter word ");
scanf("%s", pol);
char x[100] = "hello";
x[0] = 'H';
x[1] = 'i';
strcpy(&x[2], &x[5]);
strcat(x, "!");
int len = strlen(x);
printf("Symbol: %d\n%s", len, x);
if(strcmp(x, pol) == 0) {
printf("equal\n");
}
else {
printf("not equal\n");
}
int len = strlen(x), len2 = strlen(pol);
printf("Symbol: %d\n%s\nSymbol your word: %d", len, x, len2);
}