#include #include using namespace std; int main() { string fullName = "Alexandra Jones"; int len; cout << "012345678901234567890123456789" << endl; cout << fullName << endl; len = fullName.length(); cout << "The length of " << fullName << " is " << len << endl; int start = fullName.find("and"); cout << start << endl; cout << fullName.substr(3, 6) << endl; cout << fullName.at(4) << endl; cout << fullName.substr(start) << endl; //Print the substring starting "and" until the end of the string. cout << char(toupper('a')) << endl; cout << char(tolower('B')) << endl; //Coversion between char and int cout << '\n' << char(65) << endl; cout << '\t' << int('B') << endl; return 0; } /* Output from the program 012345678901234567890123456789 Alexandra Jones The length of Alexandra Jones is 15 4 xandra a andra Jones A b A 66 */