generated from admin/template
change code
This commit is contained in:
@@ -1,14 +1,31 @@
|
|||||||
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
|
|
||||||
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
|
|
||||||
fun main() {
|
fun main() {
|
||||||
val name = "Kotlin"
|
print("Введите тип карты: ")
|
||||||
//TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
|
val cardType = readln()
|
||||||
// to see how IntelliJ IDEA suggests fixing it.
|
print("Введите подтип карты: ")
|
||||||
println("Hello, " + name + "!")
|
val cardSubtype = readln()
|
||||||
|
print("Введите название карты: ")
|
||||||
|
val cardName = readln()
|
||||||
|
print("Введите описание эффекта: ")
|
||||||
|
val effectText = readln()
|
||||||
|
print("Введите правило подтипа: ")
|
||||||
|
val ruleText = readln()
|
||||||
|
print("Введите имя художника: ")
|
||||||
|
val illustrator = readln()
|
||||||
|
|
||||||
for (i in 1..5) {
|
val healAmount: Int = 60
|
||||||
//TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
|
val cardNumber: Int = 105
|
||||||
// for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
|
val totalInSet: Int = 106
|
||||||
println("i = $i")
|
|
||||||
}
|
val separator = "=".repeat(70)
|
||||||
|
val thinSeparator = "-".repeat(70)
|
||||||
|
|
||||||
|
println(separator)
|
||||||
|
println("[$cardType] $cardName")
|
||||||
|
println(thinSeparator)
|
||||||
|
println("Эффект: $effectText")
|
||||||
|
println()
|
||||||
|
println("Правило: $ruleText")
|
||||||
|
println(thinSeparator)
|
||||||
|
println("Илл. $illustrator")
|
||||||
|
println(separator)
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user