public class Solution {
public int solution(string s) {
int answer = 0;
answer = int.Parse(s);
return answer;
}
}
'프로그래머스 > Lv.1' 카테고리의 다른 글
[프로그래머스 C#] 자릿수 더하기 (0) | 2023.08.22 |
---|---|
[프로그래머스 C#] 문자열 다루기 기본 (0) | 2023.08.21 |
[프로그래머스 C#] 서울에서 김서방 찾기 (0) | 2023.08.20 |
[프로그래머스 C#] 짝수와 홀수 (0) | 2023.08.19 |
[프로그래머스 C#] 평균 구하기 (0) | 2023.08.19 |