Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 332 Bytes
application calculator
title "Calculator"
import mobl
screen root() {
var n1 : Num = 2
var n2 : Num = 2
header("Calculator")
group {
inputNum(n1)
inputNum(n2)
item { "* " outputNum(n1 * n2) }
item { "+ " outputNum(n1 + n2) }
item { "- " outputNum(n1 - n2) }
item { "/ " outputNum(n1 / n2) }
}
}
Jump to Line
Something went wrong with that request. Please try again.