hanselmandrew / simple-calculator

Simple command line text based calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic Calculator App

Takes expressions in plain text form and prints the result. My first stab at writing an interpretter and expression tree evaluator.

Currently Supports:

  1. Whitespace is ignored
  2. Operators:
    1. +
    2. -
    3. *
    4. /
  3. Order of operations:
    1. */
    2. +-

Todo:

  1. ^ exponents
  2. () parentheses

About

Simple command line text based calculator


Languages

Language:C++ 100.0%