// GroceryItemsToFile Example // Source code file: GroceryItem.kt package it372.ssmith.groceryitemstofile data class GroceryItem(var desc : String, var code : String, var price : String) { override fun toString( ) : String { return "$desc;$code;$price" } fun display( ) : String { return "Description: $desc\n" + "Code: $code\n Price: $price\n\n" } }