void DisplayAllUpper(char& Days)
{
//Part a: Change Days to all Uppercase
cout<<"Part A" <<endl;
cout << endl;
for(int i=0; i<5; ++i)
{
strupr(Days[i]);
cout << Days[i]<<endl;
}
}
void DisplayFirstUpper(char& Days)
{
//Part B: Change the first letter of each Day to Uppercase
cout<<"Part B" << endl;
cout << endl;
for(int i = 0; i < 5; ++i)
{
Days[i][0] = toupper(Days[i][0]);
cout<<Days[i]<< endl;
}
}
void DisplayDaysLength(char& Days, int x)
{
//Part C: Show Day of the week and how many letters each day of the week is
cout<< "Part C" <<endl;
cout << endl;
for(int i=0; i<5; ++i)
{
int x= strlen(Days[i][0]);
cout << x << endl;
}
}