Skip to content

apbeers/expressionevaluator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

expressionevaluator

This was the final project in my Programming Foundations 2 class.

to use it, compile all of the .cpp and .h files and run. enter a string of expressions separated by semicolons ex) 2+5;9*9/6;

then for actions, the options are

  1. < for postfix
  2. for prefix

  3. = to evaluate
  4. f to print out fully parethesized version

you can also use varaibles in the input. when evaluated, it will use the data from the varaibles ex) a+b;a=9;b=-4;

About

a project I did in college for evaluating an expression

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages