Advertisement
Josif_tepe

Untitled

Jan 16th, 2024
593
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <ctype.h>
  3. #include <string.h>
  4. int main() {
  5.     char s1[1000];
  6.     char s2[1000];
  7.  
  8.     scanf("%s", s1);
  9.     scanf("%s", s2);
  10.  
  11.     if(strcmp(s1, s2) == 0) {
  12.         printf("Isti se\n");
  13.     }
  14.     else {
  15.         printf("Ne se isti!\n");
  16.     }
  17.     return 0;
  18. }
  19.  
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement