Skip to content
Snippets Groups Projects
Commit 84bbb197 authored by reeplay's avatar reeplay
Browse files

solve unicorn's horn of challenge

parent b6a42563
No related branches found
No related tags found
1 merge request!1인텔리제이, 변수 및 타입관련 코틀린 마크다운 그리고 실습 코틀린 파일
No preview for this file type
fun main() {
val playerName: String = "에스트라곤"
var experiencePoints: Int = 5
val playerName = "에스트라곤"
val barName = "Unicorn's Horn"
val barOwnerName = "디오니소스"
var hasSteed = "false"
var experiencePoints = 5
val alcoholList = listOf("honey beer", "wine", "Lacroix")
var goldfinich = 0
experiencePoints += 5
println(playerName)
println(experiencePoints)
goldfinich += 50
println(playerName + "의 점수는 " + experiencePoints)
println("현재 말을 소유하고 있는지 여부: " + hasSteed)
println(barName + "에 도착했다.")
println(playerName + "은 이렇게 말했다")
println("나는 금화 "+ goldfinich+ "개가 있으니 술을 먹겠다.")
println("술집주인 " + barOwnerName + "는 말한다")
println("현재 " + alcoholList +"가 있습니다. 무엇을 드릴까요?")
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment