Обновить works/kotlin/Readme(lab 6).md

This commit is contained in:
2026-11-25 07:19:35 +00:00
parent 2416c19458
commit 4063d49cff
+2
View File
@@ -1,3 +1,4 @@
```kotlin
fun calcDamage(power: Int, multiplier: Double = 1.0): Int = (power * multiplier).toInt()
fun checkStatus(hp: Int): String {
@@ -95,3 +96,4 @@ fun main() {
println("ИТОГ БОЯ: Бой завершен успешно. Все функции выполнены.")
println("========================================")
}
```