int tolower(int iChar);
#include <iostream>
#include <cctype>
int main() {
using namespace std;
int iChar = (int)'F';
cout << "The original character was " << (char)iChar << " with ASCII value " << iChar << endl;
iChar = tolower(iChar);
cout << "The converted character is " << (char)iChar << " with ASCII value " << iChar << endl;
return 0;
}
© 20072025 XoaX.net LLC. All rights reserved.