aboutsummaryrefslogtreecommitdiffstats
path: root/calc
blob: fd67c284324b7e7c9ace91767d4caccbdd63f8da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
go = 1
while (go == 1) {
	print("> ")
	input = gets()
	answer = solve(input)
	if (answer == 42) {
		go = 0
	}
	print("\n")
	print(answer)
	print("\n")
}