update README.md
This commit is contained in:
parent
fc63414ad5
commit
96f48505a7
2 changed files with 12 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
МДААААААА
|
||||
)(*&^%$%^&*()(*&^%$%^&*()(*&^%$%^&*()(*&^%$#$%^&*))))
|
||||
13
c/l8.c
13
c/l8.c
|
|
@ -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);
|
||||
}
|
||||
Loading…
Reference in a new issue