Skip to content

Commit 9123794

Browse files
committed
Implemented getTotalPriceMessage() function that return a message with the total cost that the client needs to pay.
1 parent 51caac9 commit 9123794

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package mate.academy
22

33
fun getTotalPriceMessage(client: String, price: Int, quantity: Int): String {
4-
return ""
4+
return "$client has to pay $${quantity * price} per $quantity products"
55
}

0 commit comments

Comments
 (0)