var sum : Int = 0
for ( i in 1...100 ){
sum+= i
}
println(sum)
var index = 0
while(index<10){
println("current index : ${index}")
index++
}
참조 : 유투브 강의 Code with Joyce
var sum : Int = 0
for ( i in 1...100 ){
sum+= i
}
println(sum)
var index = 0
while(index<10){
println("current index : ${index}")
index++
}
참조 : 유투브 강의 Code with Joyce