diff --git "a/Programmers/\354\231\270\352\263\204\355\226\211\354\204\261\354\235\230_\353\202\230\354\235\264.cpp" "b/Programmers/\354\231\270\352\263\204\355\226\211\354\204\261\354\235\230_\353\202\230\354\235\264.cpp" new file mode 100644 index 0000000..7e4df84 --- /dev/null +++ "b/Programmers/\354\231\270\352\263\204\355\226\211\354\204\261\354\235\230_\353\202\230\354\235\264.cpp" @@ -0,0 +1,14 @@ +#include +#include + +using namespace std; + +string solution(int age) { + string answer = ""; + + for (char c : to_string(age)) { + answer += '0' + c + 1; + } + + return answer; +} \ No newline at end of file