#include <iostream>
using namespace std;
int main()
{
char a[30];
int i;
cin.getline(a,30); //gets_s(a,30);在线编译器不能用
for(i=0;a[i]!='\0';i++)
cout<<a[i]<<" ";
cout<<endl;
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: