#include
using namespace std;
Int main ()
{
Int n, I;
Char a, [1000].
Cin> n;
getchar();
While (n -)
{
Gets (a);
Int l=strlen (a);
If (a [0] & gt;='a' & amp; & A [0] <='z' & amp; & A [0]!=' ')
{
A [0]=a, [0] - 32.
Cout}
The else
Coutfor(i=1; i
If (a [I]!=' '& amp; & A [I - 1]==' ')
{
If (a [I] & gt;='a' & amp; & A [I] <='z')
A [I]=a, [I] - 32.
Cout}
}
Cout
return 0;
}
CodePudding user response:
Not the thing, what happened to the two days old demon, such as old demonCodePudding user response: