저번에 썼던 코드를 다시 보자. fun main(){ fun calculateAmount (maxGlassContent : Double, currentBottleContent : Double, currentGlassContent : Double ) : Double{ var amount = maxGlassContent - currentGlassContent if(currentBottleContent < amount){ amount = currentBottleContent } return amount } fun pourWater (maxGlassContent : Double, currentBottleContent : Double, currentGlassContent : Double) : Unit { val ..