diff --git a/src/main/kotlin/mate/academy/BuyProducts.kt b/src/main/kotlin/mate/academy/BuyProducts.kt index 9cb3df7..f8d25c9 100644 --- a/src/main/kotlin/mate/academy/BuyProducts.kt +++ b/src/main/kotlin/mate/academy/BuyProducts.kt @@ -1,5 +1,6 @@ package mate.academy fun getTotalPriceMessage(client: String, price: Int, quantity: Int): String { - return "" + val totalCost = price * quantity + return "$client has to pay $$totalCost per $quantity products" }