generated from admin/template
Добавить works/kotlin/kotlin 4.2 1
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
fun main(){
|
||||
print("Количество карт в одном бустере: ")
|
||||
val cardsInBooster = readln().toInt()
|
||||
|
||||
var totalCards = 0
|
||||
for(i in 1..cardsInBooster){
|
||||
println("[БУСТЕР] Распакована карта №$i из $cardsInBooster")
|
||||
totalCards++
|
||||
}
|
||||
println("общее кол-во карт: $totalCards")
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user