20. 20
โifโ ๋ช ๋ น์ด
์กฐ๊ฑด์ ํํํ๊ธฐ ์ํ ๊ฐ์ฅ ๊ฐ๋จํ ํํ
ํ์
ํ์
ํ์
ํ์
if
if
if
if ๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
then
then
then
then
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
fi
fi
fi
fi
(
(
(
(์ซ์
์ซ์
์ซ์
์ซ์ ๋ฐ
๋ฐ
๋ฐ
๋ฐ ๋ฌธ์์ด์
๋ฌธ์์ด์
๋ฌธ์์ด์
๋ฌธ์์ด์ ๋ํด
๋ํด
๋ํด
๋ํด test
test
test
test ์ฌ์ฉ
์ฌ์ฉ
์ฌ์ฉ
์ฌ์ฉ โ old)
old)
old)
old)
if
if
if
if test
test
test
test ์กฐ๊ฑด์
์กฐ๊ฑด์
์กฐ๊ฑด์
์กฐ๊ฑด์
then
then
then
then
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
fi
fi
fi
fi
(
(
(
(๋๋
๋๋
๋๋
๋๋)
)
)
)
if [
if [
if [
if [ ๋ฌธ์์ด
๋ฌธ์์ด
๋ฌธ์์ด
๋ฌธ์์ด/
/
/
/์์
์์
์์
์์ ] then
] then
] then
] then
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
fi
fi
fi
fi
ํ์
ํ์
ํ์
ํ์
(
(
(
(๋ฌธ์์ด์
๋ฌธ์์ด์
๋ฌธ์์ด์
๋ฌธ์์ด์ ๋ํด
๋ํด
๋ํด
๋ํด test
test
test
test ์ฌ์ฉ
์ฌ์ฉ
์ฌ์ฉ
์ฌ์ฉ โ new
new
new
new ํ์
ํ์
ํ์
ํ์)
)
)
)
if [[
if [[
if [[
if [[ ๋ฌธ์์ด
๋ฌธ์์ด
๋ฌธ์์ด
๋ฌธ์์ด ์กฐ๊ฑด์
์กฐ๊ฑด์
์กฐ๊ฑด์
์กฐ๊ฑด์ ]] then
]] then
]] then
]] then
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
๋ช ๋ น์ด
fi
fi
fi
fi
(
(
(
(์ซ์์
์ซ์์
์ซ์์
์ซ์์ ๋ํด
๋ํด
๋ํด
๋ํด let
let
let
let ์ฌ์ฉ
์ฌ์ฉ
์ฌ์ฉ
์ฌ์ฉ โ new
new
new
new ํ์
ํ์
ํ์
ํ์)
)
)
)
if ((
if ((
if ((
if (( ์์
์์
์์
์์ ))
))
))
))