fork download
  1. import java.util.*
  2.  
  3. fun main() {
  4. val numberOfAdults = 20
  5. val numberOfKids = 30
  6. val total = numberOfAdults + numberOfKids
  7. println("The total party size is: $total")
  8. }
Success #stdin #stdout 0.07s 37860KB
stdin
Standard input is empty
stdout
The total party size is: 50