Сделал первую лабу

This commit is contained in:
2026-09-16 19:17:48 +03:00
parent 8d3c2969ec
commit 87f7abd7f6
8 changed files with 158 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
### IntelliJ IDEA ###
out/
!**/src/main/**/out/
!**/src/test/**/out/
### Kotlin ###
.kotlin
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store
+13
View File
@@ -0,0 +1,13 @@
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
fun main() {
val trainerName:String = "Эш Кетчум"
val homeRegion:String = "Канто"
val badges:Int = 8
val pokedexCount:Int = 150
println("=== БАЗА ДАННЫХ ТРЕНЕРОВ ===")
println("Тренер: $trainerName")
println("Родной регион: $homeRegion")
println("Значков: $badges | Покемонов в Покедексе: $pokedexCount")
}