There was an error while loading. Please reload this page.
1 parent 51caac9 commit 9123794Copy full SHA for 9123794
1 file changed
src/main/kotlin/mate/academy/BuyProducts.kt
@@ -1,5 +1,5 @@
1
package mate.academy
2
3
fun getTotalPriceMessage(client: String, price: Int, quantity: Int): String {
4
- return ""
+ return "$client has to pay $${quantity * price} per $quantity products"
5
}
0 commit comments