Contact: aviboots(AT)netvision.net.il
32,309 questions
42,484 answers
573 users
object Main extends App { val _base = 12 val high = 13 val a = 6 val c = 8 println(s"area = ${(_base * high) / 2}") println(s"perimeter = ${_base + a + c}") } /* run: area = 78 perimeter = 26 */