Conversion to Lowercase

  1. Design a function
    void ToLower(char* s)
    which will convert the characters in the input argument from uppercase to lowercase.
  2. Test your function with the following main program:
    
    int main()
    {
        char buffer[80];
        cout << "Please input a word -- ";
        cin >> buffer;
        ToLower(buffer);
        cout << buffer << endl;
        return 0;
    }