요렇게 푸는것도 가능 ㅇㅇ
#include <iostream>
using namespace std;
int main(void)
{
cin.tie(nullptr);
cin.sync_with_stdio(false);
constexpr char conv[] = {'a', 'v', 's', 'd', 'y', 'f', 'g', 'n', 'i', 'j', 'k', 'l', 'm',
'n', 'o', 'r', 'q', 'r', 's', 't', 'u', 'v', 'w', 'h', 'u', 'z'};
char input[101];
char output[201];
cin >> input;
char* pInput = input;
char* pOutput = output;
while(*pInput != 0)
{
*(pOutput++) = conv[*pInput - 'A'];
if(*pInput == 'E')
*(pOutput++) = 'e';
pInput++;
}
*pOutput = 0;
cout << output;
return 0;
}
c만하다가 c++보니까 되게 전문가 느낌나네.. 나도 나중에 c++로 옮기긴 할건데 너무 어려운거같음ㅋㅋ; 아무튼 풀이 ㄳ
굿
파이썬써라
열심히 써 ㅇㅇ
C손논지 3년 웹개발 오고 보지도안하다