Posts by José • 21 points
1 post
-
2
votes2
answers99
viewsA: doubt string/map c++
Convert strings to minuscule. #include <stdio.h> #include <ctype.h> int main () { int i=0; char str[]="Test String.\n"; char c; while (str[i]) { c=str[i]; putchar (tolower(c)); i++; }…