if๋ฌธ

๐ŸŒฑ ์ฝ”๋ฆฐ์ด๋ฅผ ์œ„ํ•œ GUIDE/๐Ÿ—‚๏ธ OpenSource

16 Swift๋กœ ๋žœ๋ค๋น™๊ณ  ๊ฒŒ์ž„ ๋งŒ๋“ค๊ธฐ

16 ๋žœ๋ค๋น™๊ณ  ๊ฒŒ์ž„ ๋งŒ๋“ค๊ธฐ ๋ฌธ์ œ ํ’€์ด import UIKit var computer:Int = Int.random(in: 1...10) var user:Int = 5 if computer == user { print("Bingo") } else if computer user { print("Up") }

์–‘์ฝฉ(Yangkong)
'if๋ฌธ' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก