Coraona calculator

How can we create calculator program using lua in corona??not only the design but also the implemention too

This is not a forum for Corona or Lua in general. It’s for Codea. But you would have a key pad that you get input from. Then you have a variable of the answer number. Then have a function for each operation and make it return the answer. When the time comes, do the operation to the inputted number and the answer and print it. Not sure that’s good. Just kind of threw it out quickly.