Konversi Toupper String dan Tolower di CPP
#include <algorithm>
// using transform() function and ::tolower in STL
transform(sl.begin(), sl.end(), sl.begin(), ::tolower);
cout << sl << endl;
// using transform() function and ::toupper in STL
transform(su.begin(), su.end(), su.begin(), ::toupper);
cout << su << endl;
Embarrassed Eel