Advertisement
Josif_tepe

Untitled

Jan 5th, 2023
999
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 <stdlib.h>
  3. #include <ctype.h>
  4. #include <string.h>
  5.  
  6.  
  7. int main(int argc, const char * argv[]) {
  8.     char s[1000];
  9.     scanf("%s", s);
  10.    
  11.    
  12.     for(int i = 0; i < strlen(s); i++) {
  13.         s[i] = tolower(s[i]);
  14.     }
  15.     printf("%s\n", s);
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement