{"id":30705,"date":"2024-10-28T04:01:39","date_gmt":"2024-10-28T04:01:39","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=30705"},"modified":"2024-11-26T06:47:39","modified_gmt":"2024-11-26T06:47:39","slug":"%ec%9e%90%eb%b0%94-%ec%95%88%eb%93%9c%eb%a1%9c%ec%9d%b4%eb%93%9c-%ec%95%b1%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-%ec%a1%b0%ea%b1%b4%eb%ac%b8%ea%b3%bc-%eb%b0%98%eb%b3%b5%eb%ac%b8","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/30705\/","title":{"rendered":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38"},"content":{"rendered":"<p><body><\/p>\n<article>\n<p>\uc548\ub4dc\ub85c\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc740 \uae30\ubcf8\uc801\uc73c\ub85c \uc790\ubc14 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0 \uc758\uc874\ud569\ub2c8\ub2e4. \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc740 \ud504\ub85c\uadf8\ub798\ubc0d\uc758 \uac00\uc7a5 \uae30\ubcf8\uc801\uc778 \uc5b8\uc5b4 \uad6c\uc870\uc774\uba70, \uc774\ub4e4 \uc5c6\uc774\ub294 \uc571\uc758 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\uae30 \uc5b4\ub835\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \ud3ec\uc2a4\ud305\uc5d0\uc11c\ub294 \uc790\ubc14\ub97c \ud65c\uc6a9\ud55c \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc5d0 \ub300\ud55c \uc0c1\uc138\ud55c \uc124\uba85\uacfc \ud568\uaed8, \uc774\ub97c \ud65c\uc6a9\ud55c \uc608\uc81c \ucf54\ub4dc\ub97c \uc81c\uacf5\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \uc870\uac74\ubb38\uc5d0 \ub300\ud55c \uc774\ud574<\/h2>\n<p>\uc870\uac74\ubb38\uc740 \ud2b9\uc815 \uc870\uac74\uc774 \ucc38(true)\uc778\uc9c0 \uac70\uc9d3(false)\uc778\uc9c0\uc5d0 \ub530\ub77c \ud504\ub85c\uadf8\ub7a8\uc758 \ud750\ub984\uc744 \uc81c\uc5b4\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc790\ubc14\uc5d0\uc11c\ub294 \uc8fc\ub85c <code>if<\/code>, <code>else<\/code>, <code>switch<\/code>\uc640 \uac19\uc740 \uc870\uac74\ubb38\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<h3>1.1 if \ubb38<\/h3>\n<p>\uac00\uc7a5 \uae30\ubcf8\uc801\uc778 \uc870\uac74\ubb38\uc740 <code>if<\/code> \ubb38\uc785\ub2c8\ub2e4. \uc774 \uc870\uac74\ubb38\uc740 \uc8fc\uc5b4\uc9c4 \uc870\uac74\uc774 true\uc77c \uacbd\uc6b0 \ud2b9\uc815 \ucf54\ub4dc\ub97c \uc2e4\ud589\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>if (\uc870\uac74) {\n    \/\/ \uc870\uac74\uc774 true\uc77c \uacbd\uc6b0 \uc2e4\ud589\ub420 \ucf54\ub4dc\n}<\/code><\/pre>\n<h3>1.2 else \ubb38<\/h3>\n<p><code>if<\/code> \ubb38\uacfc \ud568\uaed8 \uc0ac\uc6a9\ub418\ub294 <code>else<\/code> \ubb38\uc740 \uc81c\uc2dc\ub41c \uc870\uac74\uc774 false\uc77c \uacbd\uc6b0 \uc2e4\ud589\ub420 \ucf54\ub4dc\ub97c \uc815\uc758\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>if (\uc870\uac74) {\n    \/\/ true\uc77c \uacbd\uc6b0 \uc2e4\ud589\n} else {\n    \/\/ false\uc77c \uacbd\uc6b0 \uc2e4\ud589\n}<\/code><\/pre>\n<h3>1.3 else if \ubb38<\/h3>\n<p>\uc5ec\ub7ec \uc870\uac74\uc744 \uac80\uc0ac\ud574\uc57c \ud560 \ub54c\ub294 <code>else if<\/code>\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>if (\uc870\uac741) {\n    \/\/ \uc870\uac741\uc774 true\uc77c \uacbd\uc6b0 \uc2e4\ud589\n} else if (\uc870\uac742) {\n    \/\/ \uc870\uac742\uac00 true\uc77c \uacbd\uc6b0 \uc2e4\ud589\n} else {\n    \/\/ \uc704 \uc870\uac74\ub4e4\uc774 \ubaa8\ub450 false\uc77c \uacbd\uc6b0 \uc2e4\ud589\n}<\/code><\/pre>\n<h3>1.4 switch \ubb38<\/h3>\n<p><code>switch<\/code> \ubb38\uc740 \uc5ec\ub7ec \uac00\uc9c0 \uc870\uac74 \uc911 \ud558\ub098\ub97c \uc120\ud0dd\ud574\uc57c \ud560 \ub54c \uc720\uc6a9\ud569\ub2c8\ub2e4. \ubcf4\ub2e4 \uae54\ub054\ud558\uac8c \uc791\uc131\ud560 \uc218 \uc788\uc73c\uba70, \ubcf5\uc7a1\ud55c \uc5ec\ub7ec \uc870\uac74\uc744 \ub2e4\ub8f0 \ub54c \uc720\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>switch (\ubcc0\uc218) {\n    case \uac121:\n        \/\/ \uac121\uc77c \uacbd\uc6b0 \uc2e4\ud589\n        break;\n    case \uac122:\n        \/\/ \uac122\uc77c \uacbd\uc6b0 \uc2e4\ud589\n        break;\n    default:\n        \/\/ \uc544\ubb34 \uc870\uac74\uacfc\ub3c4 \ub9de\uc9c0 \uc54a\uc744 \uacbd\uc6b0 \uc2e4\ud589\n}<\/code><\/pre>\n<h2>2. \ubc18\ubcf5\ubb38\uc5d0 \ub300\ud55c \uc774\ud574<\/h2>\n<p>\ubc18\ubcf5\ubb38\uc740 \ud2b9\uc815 \ucf54\ub4dc \ube14\ub85d\uc744 \uc5ec\ub7ec \ubc88 \uc2e4\ud589\ud560 \uc218 \uc788\ub3c4\ub85d \ub3d5\uc2b5\ub2c8\ub2e4. \uc790\ubc14\uc5d0\ub294 \uc8fc\ub85c <code>for<\/code>, <code>while<\/code>, <code>do while<\/code> \ubc18\ubcf5\ubb38\uc774 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.1 for \ubb38<\/h3>\n<p><code>for<\/code> \ubb38\uc740 \ubc18\ubcf5 \ud69f\uc218\uac00 \uba85\ud655\ud560 \ub54c \uc720\uc6a9\ud569\ub2c8\ub2e4. \ucd08\uae30\uac12, \uc870\uac74\uc2dd, \uc99d\uac10\uc2dd\uc744 \uc9c0\uc815\ud558\uc5ec \ubc18\ubcf5\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>for (\ucd08\uae30\uac12; \uc870\uac74; \uc99d\uac10) {\n    \/\/ \ubc18\ubcf5 \uc2e4\ud589\ud560 \ucf54\ub4dc\n}<\/code><\/pre>\n<h3>2.2 while \ubb38<\/h3>\n<p><code>while<\/code> \ubb38\uc740 \uc8fc\uc5b4\uc9c4 \uc870\uac74\uc774 true\uac00 \ub420 \ub3d9\uc548 \ubc18\ubcf5\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>while (\uc870\uac74) {\n    \/\/ \ubc18\ubcf5 \uc2e4\ud589\ud560 \ucf54\ub4dc\n}<\/code><\/pre>\n<h3>2.3 do while \ubb38<\/h3>\n<p><code>do while<\/code> \ubb38\uc740 \ucd5c\uc18c\ud55c \ud55c \ubc88\uc740 \uc2e4\ud589\ub418\uace0, \uc870\uac74\uc744 \uac80\uc0ac\ud558\uc5ec \ubc18\ubcf5\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>do {\n    \/\/ \uc2e4\ud589\ud560 \ucf54\ub4dc\n} while (\uc870\uac74);<\/code><\/pre>\n<h2>3. \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc744 \ud65c\uc6a9\ud55c \uc608\uc81c<\/h2>\n<p>\uc774\ubc88\uc5d0\ub294 \uac04\ub2e8\ud55c \uc608\uc81c\ub97c \ud1b5\ud574 \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc774 \uc2e4\uc81c \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uc5d0\uc11c \uc5b4\ub5bb\uac8c \uc0ac\uc6a9\ub418\ub294\uc9c0 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1 \uc608\uc81c: \uc0ac\uc6a9\uc790 \uc785\ub825 \uae30\ubc18\uc758 \uacc4\uc0b0\uae30 \uc571<\/h3>\n<p>\uc0ac\uc6a9\uc790\uac00 \ub450 \uc22b\uc790\uc640 \uc5f0\uc0b0\uc790\ub97c \uc785\ub825\ud558\uba74 \uacb0\uacfc\ub97c \ucd9c\ub825\ud558\ub294 \uacc4\uc0b0\uae30 \uc571\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc5ec\uae30\uc11c\ub294 \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc744 \ud568\uaed8 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>package com.example.simplecalculator;\n\nimport android.os.Bundle;\nimport android.view.View;\nimport android.widget.Button;\nimport android.widget.EditText;\nimport android.widget.TextView;\nimport androidx.appcompat.app.AppCompatActivity;\n\npublic class MainActivity extends AppCompatActivity {\n\n    private EditText number1EditText, number2EditText;\n    private TextView resultTextView;\n    private Button calculateButton;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_main);\n\n        number1EditText = findViewById(R.id.number1);\n        number2EditText = findViewById(R.id.number2);\n        resultTextView = findViewById(R.id.result);\n        calculateButton = findViewById(R.id.calculateButton);\n\n        calculateButton.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                calculate();\n            }\n        });\n    }\n\n    private void calculate() {\n        String number1String = number1EditText.getText().toString();\n        String number2String = number2EditText.getText().toString();\n        if (number1String.isEmpty() || number2String.isEmpty()) {\n            resultTextView.setText(\"\ubaa8\ub4e0 \uc785\ub825\ub780\uc744 \ucc44\uc6cc\uc8fc\uc138\uc694.\");\n            return;\n        }\n\n        int number1 = Integer.parseInt(number1String);\n        int number2 = Integer.parseInt(number2String);\n        String operator = \"\"; \/\/ TODO: \uc5ec\uae30\uc5d0 \uc5f0\uc0b0\uc790 \ubcc0\uc218 \ucd94\uac00\n\n        switch (operator) {\n            case \"+\":\n                resultTextView.setText(\"\uacb0\uacfc: \" + (number1 + number2));\n                break;\n            case \"-\":\n                resultTextView.setText(\"\uacb0\uacfc: \" + (number1 - number2));\n                break;\n            case \"*\":\n                resultTextView.setText(\"\uacb0\uacfc: \" + (number1 * number2));\n                break;\n            case \"\/\":\n                if (number2 == 0) {\n                    resultTextView.setText(\"0\uc73c\ub85c \ub098\ub20c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\");\n                } else {\n                    resultTextView.setText(\"\uacb0\uacfc: \" + (number1 \/ number2));\n                }\n                break;\n            default:\n                resultTextView.setText(\"\uc720\ud6a8\ud55c \uc5f0\uc0b0\uc790\ub97c \uc120\ud0dd\ud558\uc138\uc694.\");\n                break;\n        }\n    }\n}\n<\/code><\/pre>\n<h2>4. \uc608\uc81c\uc758 \uc0c1\uc138 \uc124\uba85<\/h2>\n<p>\uc704\uc758 \ucf54\ub4dc\ub294 \uc0ac\uc6a9\uc790\uac00 \ub450 \uac1c\uc758 \uc22b\uc790\ub97c \uc785\ub825\ud558\uace0, \uc5f0\uc0b0\uc790\ub97c \uc120\ud0dd\ud558\uc5ec \uacb0\uacfc\ub97c \uacc4\uc0b0\ud558\ub294 \uac04\ub2e8\ud55c \uacc4\uc0b0\uae30 \uc571\uc785\ub2c8\ub2e4.<\/p>\n<h3>4.1 \uc0ac\uc6a9\uc790 \uc785\ub825 \ucc98\ub9ac<\/h3>\n<p>\uc0ac\uc6a9\uc790\ub85c\ubd80\ud130 \ub450 \uac1c\uc758 \uc22b\uc790\ub97c \uc785\ub825\ubc1b\uae30 \uc704\ud574 <code>EditText<\/code> \uc704\uc82f\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uac00 \uc785\ub825\ud55c \uac12\uc744 \uac00\uc838\uc624\uae30 \uc704\ud574 <code>getText().toString()<\/code> \uba54\uc11c\ub4dc\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.2 \uc870\uac74\ubb38 \uc0ac\uc6a9<\/h3>\n<p>\uc785\ub825\ub41c \uac12\uc774 \ube44\uc5b4 \uc788\ub294\uc9c0 \uac80\uc0ac\ud558\uae30 \uc704\ud574 <code>if<\/code> \ubb38\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790\uc5d0\uac8c \ubaa8\ub4e0 \uc785\ub825\ub780\uc744 \ucc44\uc6b0\ub3c4\ub85d \uc548\ub0b4\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.3 switch \ubb38 \uc0ac\uc6a9<\/h3>\n<p>\uc0ac\uc6a9\uc790\uac00 \uc120\ud0dd\ud55c \uc5f0\uc0b0\uc790\uc5d0 \ub530\ub77c \uacc4\uc0b0\uc744 \uc218\ud589\ud558\uae30 \uc704\ud574 <code>switch<\/code> \ubb38\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \uac01 \ucf00\uc774\uc2a4\uc5d0 \ub530\ub77c \ud574\ub2f9 \uc5f0\uc0b0\uc774 \uc218\ud589\ub418\uba70, \uacb0\uacfc\uac00 <code>TextView<\/code>\uc5d0 \ucd9c\ub825\ub429\ub2c8\ub2e4.<\/p>\n<h3>4.4 \uc608\uc678 \ucc98\ub9ac<\/h3>\n<p>\ub098\ub204\uae30 \uc5f0\uc0b0\uc758 \uacbd\uc6b0, 0\uc73c\ub85c \ub098\ub204\uae30\ub97c \ubc29\uc9c0\ud558\uae30 \uc704\ud574 \ucd94\uac00\uc801\uc778 \uc870\uac74\uc744 \uac80\uc0ac\ud569\ub2c8\ub2e4.<\/p>\n<h2>5. \uacb0\ub860<\/h2>\n<p>\uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc740 \uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571 \uac1c\ubc1c\uc5d0\uc11c \uac00\uc7a5 \uae30\ubcf8\uc801\uc774\uba70 \uc911\uc694\ud55c \uac1c\ub150\uc785\ub2c8\ub2e4. \uc0c1\uae30 \uc608\uc81c\ub97c \ud1b5\ud574 \uc774\ub97c \ud65c\uc6a9\ud558\ub294 \ubc29\ubc95\uc744 \uc775\ud614\ub2e4\uba74, \uc774\ub97c \ubc14\ud0d5\uc73c\ub85c \ub354 \ubcf5\uc7a1\ud55c \ub85c\uc9c1\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc591\ud55c \uc0c1\ud669\uc5d0\uc11c \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc744 \uc801\uc808\ud788 \uc0ac\uc6a9\ud558\uc5ec \uc720\uc6a9\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud574\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<h2>6. \ub2e4\uc74c \ub2e8\uacc4<\/h2>\n<p>\uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc744 \ub9c8\uc2a4\ud130\ud588\uc73c\ub2c8, \ub2e4\uc74c \ub2e8\uacc4\ub294 \ub370\uc774\ud130 \uad6c\uc870\uc640 \uc54c\uace0\ub9ac\uc998\uc744 \ubc30\uc6b0\ub294 \uac83\uc785\ub2c8\ub2e4. \ub9ac\uc2a4\ud2b8, \ub9f5 \ub4f1\uc744 \ud65c\uc6a9\ud558\uc5ec \uc571\uc758 \uae30\ub2a5\uc744 \ud655\uc7a5\ud574\ubcf4\uc138\uc694. \uadf8\ub9ac\uace0 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc640\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \ub354\uc6b1\ub354 \ud48d\ubd80\ud558\uac8c \ud558\uae30 \uc704\ud574 \uc774\ubca4\ud2b8 \ucc98\ub9ac\uc5d0 \ub300\ud574\uc11c\ub3c4 \ubc30\uc6cc\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<footer>\n<p>\uc774 \ud3ec\uc2a4\ud305\uc774 \uc720\uc6a9\ud558\uc168\ub098\uc694? \ub313\uae00\ub85c \uc5ec\ub7ec\ubd84\uc758 \uc758\uacac\uc744 \ub0a8\uaca8\uc8fc\uc138\uc694!<\/p>\n<\/footer>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub4dc\ub85c\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc740 \uae30\ubcf8\uc801\uc73c\ub85c \uc790\ubc14 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0 \uc758\uc874\ud569\ub2c8\ub2e4. \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc740 \ud504\ub85c\uadf8\ub798\ubc0d\uc758 \uac00\uc7a5 \uae30\ubcf8\uc801\uc778 \uc5b8\uc5b4 \uad6c\uc870\uc774\uba70, \uc774\ub4e4 \uc5c6\uc774\ub294 \uc571\uc758 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\uae30 \uc5b4\ub835\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \ud3ec\uc2a4\ud305\uc5d0\uc11c\ub294 \uc790\ubc14\ub97c \ud65c\uc6a9\ud55c \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc5d0 \ub300\ud55c \uc0c1\uc138\ud55c \uc124\uba85\uacfc \ud568\uaed8, \uc774\ub97c \ud65c\uc6a9\ud55c \uc608\uc81c \ucf54\ub4dc\ub97c \uc81c\uacf5\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. \uc870\uac74\ubb38\uc5d0 \ub300\ud55c \uc774\ud574 \uc870\uac74\ubb38\uc740 \ud2b9\uc815 \uc870\uac74\uc774 \ucc38(true)\uc778\uc9c0 \uac70\uc9d3(false)\uc778\uc9c0\uc5d0 \ub530\ub77c \ud504\ub85c\uadf8\ub7a8\uc758 \ud750\ub984\uc744 \uc81c\uc5b4\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc790\ubc14\uc5d0\uc11c\ub294 \uc8fc\ub85c if, else, &hellip; <a href=\"https:\/\/atmokpo.com\/w\/30705\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[36],"tags":[],"class_list":["post-30705","post","type-post","status-publish","format-standard","hentry","category-36"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/30705\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub4dc\ub85c\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc740 \uae30\ubcf8\uc801\uc73c\ub85c \uc790\ubc14 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0 \uc758\uc874\ud569\ub2c8\ub2e4. \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc740 \ud504\ub85c\uadf8\ub798\ubc0d\uc758 \uac00\uc7a5 \uae30\ubcf8\uc801\uc778 \uc5b8\uc5b4 \uad6c\uc870\uc774\uba70, \uc774\ub4e4 \uc5c6\uc774\ub294 \uc571\uc758 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\uae30 \uc5b4\ub835\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \ud3ec\uc2a4\ud305\uc5d0\uc11c\ub294 \uc790\ubc14\ub97c \ud65c\uc6a9\ud55c \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc5d0 \ub300\ud55c \uc0c1\uc138\ud55c \uc124\uba85\uacfc \ud568\uaed8, \uc774\ub97c \ud65c\uc6a9\ud55c \uc608\uc81c \ucf54\ub4dc\ub97c \uc81c\uacf5\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. \uc870\uac74\ubb38\uc5d0 \ub300\ud55c \uc774\ud574 \uc870\uac74\ubb38\uc740 \ud2b9\uc815 \uc870\uac74\uc774 \ucc38(true)\uc778\uc9c0 \uac70\uc9d3(false)\uc778\uc9c0\uc5d0 \ub530\ub77c \ud504\ub85c\uadf8\ub7a8\uc758 \ud750\ub984\uc744 \uc81c\uc5b4\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc790\ubc14\uc5d0\uc11c\ub294 \uc8fc\ub85c if, else, &hellip; \ub354 \ubcf4\uae30 &quot;\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/30705\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T04:01:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:47:39+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/30705\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30705\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\",\"datePublished\":\"2024-10-28T04:01:39+00:00\",\"dateModified\":\"2024-11-26T06:47:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30705\/\"},\"wordCount\":15,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc\uc571 \uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/30705\/\",\"url\":\"https:\/\/atmokpo.com\/w\/30705\/\",\"name\":\"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-28T04:01:39+00:00\",\"dateModified\":\"2024-11-26T06:47:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30705\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/30705\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/30705\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/30705\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub4dc\ub85c\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc740 \uae30\ubcf8\uc801\uc73c\ub85c \uc790\ubc14 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0 \uc758\uc874\ud569\ub2c8\ub2e4. \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc740 \ud504\ub85c\uadf8\ub798\ubc0d\uc758 \uac00\uc7a5 \uae30\ubcf8\uc801\uc778 \uc5b8\uc5b4 \uad6c\uc870\uc774\uba70, \uc774\ub4e4 \uc5c6\uc774\ub294 \uc571\uc758 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\uae30 \uc5b4\ub835\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \ud3ec\uc2a4\ud305\uc5d0\uc11c\ub294 \uc790\ubc14\ub97c \ud65c\uc6a9\ud55c \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\uc5d0 \ub300\ud55c \uc0c1\uc138\ud55c \uc124\uba85\uacfc \ud568\uaed8, \uc774\ub97c \ud65c\uc6a9\ud55c \uc608\uc81c \ucf54\ub4dc\ub97c \uc81c\uacf5\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. \uc870\uac74\ubb38\uc5d0 \ub300\ud55c \uc774\ud574 \uc870\uac74\ubb38\uc740 \ud2b9\uc815 \uc870\uac74\uc774 \ucc38(true)\uc778\uc9c0 \uac70\uc9d3(false)\uc778\uc9c0\uc5d0 \ub530\ub77c \ud504\ub85c\uadf8\ub7a8\uc758 \ud750\ub984\uc744 \uc81c\uc5b4\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc790\ubc14\uc5d0\uc11c\ub294 \uc8fc\ub85c if, else, &hellip; \ub354 \ubcf4\uae30 \"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38\"","og_url":"https:\/\/atmokpo.com\/w\/30705\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-28T04:01:39+00:00","article_modified_time":"2024-11-26T06:47:39+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/30705\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/30705\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38","datePublished":"2024-10-28T04:01:39+00:00","dateModified":"2024-11-26T06:47:39+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/30705\/"},"wordCount":15,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc\uc571 \uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/30705\/","url":"https:\/\/atmokpo.com\/w\/30705\/","name":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-28T04:01:39+00:00","dateModified":"2024-11-26T06:47:39+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/30705\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/30705\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/30705\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uc870\uac74\ubb38\uacfc \ubc18\ubcf5\ubb38"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=30705"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30705\/revisions"}],"predecessor-version":[{"id":30706,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30705\/revisions\/30706"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=30705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=30705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=30705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}