kiosk 과제 lv3까지는 주문시 메뉴선택기능만 있었는데 lv4부터는 주문시 가격차감 및 잔액 표시 기능까지 추가하였다. lv3까지와 마찬가지로 클래스별로 기능을 나눴다. 먼저 작성한 파일은 Food.kt 파일이고, 인터페이스(바디가 없는 메서드들의 모음)로 구현했다. package com.ellycrab.kiosklv4 interface Food { //대분류 메뉴 val categoryName:String //소분류 메뉴 val foodOptions:List fun displayOptions() fun orderItem(choice:Int):Pair? } Sandwiches Wraps Salads 클래스에서는 Food클래스를 상속 받는다. package com.ellycrab.kiosklv4 cla..