#include <iostream>
using namespace std;
int main()
{
char string[20];
cin.getline(string,20,'\n');
for (int i = 0; i<20; i++)
{
if (islower(string[i]))
{
string[i] = char(toupper(string[i]));
}
}
cout <<string;
}
using namespace std;
int main()
{
char string[20];
cin.getline(string,20,'\n');
for (int i = 0; i<20; i++)
{
if (islower(string[i]))
{
string[i] = char(toupper(string[i]));
}
}
cout <<string;
}
No comments:
Post a Comment