generated from admin/template
Обновить works/kotlin/Readme(lab 6).md
This commit is contained in:
@@ -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("========================================")
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user