Skip to content
Open

Alex #159

Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
kotlin("jvm") version "1.8.0"
kotlin("jvm") version "2.2.20"
application
id("io.gitlab.arturbosch.detekt") version "1.23.3"
}
Expand All @@ -20,7 +20,7 @@ tasks.test {
}

kotlin {
jvmToolchain(11)
jvmToolchain(24)
}

detekt {
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/mate/academy/BuyProducts.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package mate.academy

fun getTotalPriceMessage(client: String, price: Int, quantity: Int): String {
return ""
return "$client has to pay $${price * quantity} per $quantity products"
}
Loading