๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๐Ÿ“ ์•Œ๊ณ ๋ฆฌ์ฆ˜/Programmers

[PGS] Lv.0 (์ฝ”๋”ฉํ…Œ์ŠคํŠธ ์ž…๋ฌธ) 1์ผ์ฐจ ๋ฌธ์ œ

728x90

โœ… 1์›” ๋ชฉํ‘œ : ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค ๋ ˆ๋ฒจ0 100๋ฌธ์ œ ๋‹ค ํ’€๊ธฐ

 

https://github.com/inthhh/TIL-ps

 

GitHub - inthhh/TIL-ps

Contribute to inthhh/TIL-ps development by creating an account on GitHub.

github.com

์š”์ฆ˜ ๋งค์ผ TIL ์“ฐ๋ฉด์„œ ๊นƒํ—ˆ๋ธŒ ์ž”๋””์‹ฌ๊ธฐ ์ค‘์ธ๋ฐ, ๋ธ”๋กœ๊ทธ์—๋„ ๊ณต๋ถ€ํ•œ ๋‚ด์šฉ์„ ์งฌ์งฌ์ด ๋ชฐ์•„์„œ ์˜ฌ๋ ค๋ณผ ์˜ˆ์ •์ด๋‹ค.

๋Š˜ ๊ทธ๋ ‡๋“ฏ ์ง€์‹์„ ๊ณต์œ ํ•˜๋Š” ์ผ์€ ์ฆ๊ฑฐ์šฐ๋‹ˆ๊นŒ!!

 

๋…ธ์…˜์— TIL ์“ฐ๋Š”์ค‘

๋‘ ์ˆ˜์˜ ํ•ฉ

int solution(int num1, int num2) {
    int answer = -1;
    answer = num1 + num2;
    return answer;
}

๋‘ ์ˆ˜์˜ ์ฐจ

int solution(int num1, int num2) {
    int answer = 0;
    answer = num1 - num2;
    return answer;
}

๋‘ ์ˆ˜์˜ ๊ณฑ

int solution(int num1, int num2) {
    int answer = 0;
    answer = num1 * num2;
    return answer;
}

๋ชซ ๊ตฌํ•˜๊ธฐ

int solution(int num1, int num2) {
    int answer = 0;
    answer = num1/num2;
    return answer;
}

.

 

728x90