/text-calculator

Basic textual calculator, able to perform operations like 'x = '.

Primary LanguageJava

text-calculator

Basic textual calculator written in JAVA, able to perform operations like 'x = 3 + 5 * 2' or multiline operations like following:

i = 0

j = ++i

x = i++ + 5

y = 5 + 3 * 10

i += y

Notes:

  • All the operands, operations and assignment values should be space separated
  • Currently supported operations are: '+' , '*' , '-' and value incrementation decremention.