문제풀이:
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
string solution(string myString) {
string answer = "";
for(char c : myString)
{
answer+= tolower(c);
}
return answer;
}
'코딩테스트' 카테고리의 다른 글
프로그래머스_0단계_대문자와 소문자 C++ (0) | 2024.04.23 |
---|---|
프로그래머스_0단계_뒤에서 5등 위로 C++ (0) | 2024.04.23 |
프로그래머스_0단계_홀수 vs 짝수 C++ (0) | 2024.04.23 |
프로그래머스_0단계_5명씩 C++ (0) | 2024.04.23 |
프로그래머스_0단계_할 일 목록 C++ (0) | 2024.04.23 |