
Patrick B. answered 04/27/21
Math and computer tutor/teacher
#include <iostream>
#include <cctype>
using namespace std;
int main()
{
string word;
//Do not modify anything on or above the line below this
//YOUR_CODE_BELOW
string WORD=" ";
cout << "Input :>";
cin >> word;
int strLen = word.length();
for (int iLoop=0; iLoop<strLen; iLoop++)
{
char ch = toupper(word[iLoop]);
WORD = WORD+ch;
}
cout << WORD << endl;
//YOUR_CODE_ABOVE
//Do not modify anything on or below the line above this
cout << word;
}