문제
URL : https://codeup.kr/problemsetsol.php?psid=23
소스코드
#include <iostream>
using namespace std;
int main()
{
char word[21];
cin >> word;
for (int i = 0; i < strlen(word); i++)
cout << "'" << word[i] << "'" << endl;
return 0;
}
URL : https://codeup.kr/problemsetsol.php?psid=23
#include <iostream>
using namespace std;
int main()
{
char word[21];
cin >> word;
for (int i = 0; i < strlen(word); i++)
cout << "'" << word[i] << "'" << endl;
return 0;
}