Advertisement
Josif_tepe

Untitled

Jan 5th, 2023
735
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <ctype.h>
  4. #include <string.h>
  5.  
  6.  
  7. int main(int argc, const char * argv[]) {
  8.  
  9.     char s1[1000];
  10.     scanf("%s", s1);
  11.     char s2[1000];
  12.     scanf("%s", s2);
  13.    
  14.     printf("%d\n", strcmp(s1, s2));
  15.     return 0;
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement