generated from admin/template
Сделал первую лабу
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,30 @@
|
||||
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
|
||||
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
|
||||
fun main() {
|
||||
print("Введите тип карты: ")
|
||||
val cardType: String = readln()
|
||||
print("Введите подтип карты: ")
|
||||
val cardSubtype: String = readln()
|
||||
print("Введите название карты: ")
|
||||
val cardName: String = readln()
|
||||
print("Введите описание основного эффекта: ")
|
||||
val effectText: String = readln()
|
||||
print("Введите правило подтипа: ")
|
||||
val ruleText: String = readln()
|
||||
print("Введите имя художника: ")
|
||||
val illustrator: String = readln()
|
||||
|
||||
val healAmount: Int = 60
|
||||
val cardNumber: Int = 105
|
||||
val totalInSet: Int = 106
|
||||
|
||||
println("======================================================================")
|
||||
println("[$cardType] $cardName [$cardSubtype]")
|
||||
println("----------------------------------------------------------------------")
|
||||
println("Эффект: $effectText")
|
||||
|
||||
println("Правило: $ruleText")
|
||||
println("----------------------------------------------------------------------")
|
||||
println("Илл. $illustrator $cardNumber/$totalInSet ★")
|
||||
println("======================================================================")
|
||||
}
|
||||
Reference in New Issue
Block a user