<문제설명>


<나의 풀이>

<다른 사람의 풀이>
1)
using System;
public class Solution {
public int solution(string message) {
int answer = 0;
answer = 2 *message.Length;
return answer;
}
}
2)
using System;
public class Solution {
public int solution(string message) {
int answer = 0;
answer = message.Length * 2;
return answer;
}
}
3)
using System;
public class Solution {
public int solution(string message) {
return message.Length * 2;
}
}
'하루회고 ( *ฅ́˘ฅ̀*) > 프로그래머스 (๑ ́ᄇ`๑)' 카테고리의 다른 글
| C#)배열의 평균 (0) | 2024.07.16 |
|---|---|
| C#)각도기 (0) | 2024.06.12 |
| C#)두 수의 나눗셈 (0) | 2024.06.11 |
| C#)짝수의 합 (1) | 2024.06.10 |
| C#)두 수의 합 (1) | 2024.06.09 |