Обновить works/Kotlin/works/lab-06/Readme.md

This commit is contained in:
2026-11-25 08:22:15 +00:00
parent 49d0a17ec4
commit 4b6254a233
+1 -1
View File
@@ -7,7 +7,7 @@
## Ключевой код
```csharp
ffun calcDamage(power: Int, multiplier: Double = 1.0): Int = (power * multiplier).toInt()
fun calcDamage(power: Int, multiplier: Double = 1.0): Int = (power * multiplier).toInt()
fun checkStatus(hp: Int): String {
if (hp >0)