This is the pastebin for my code: http://pastebin.com/gV01kTje
Basically I have an assignment where I need to create a calculator capable of up to 3 step equations and being able to do all PEMDAS operations in PEMDAS order. So far I've gotten it up to 3 step operations and being able to do addition, subtraction, multiplication, and division in PEMDAS order, but I don't know where I would even start with trying to implement parentheses and exponents into my code. Can someone ease help me out?
Basically I have an assignment where I need to create a calculator capable of up to 3 step equations and being able to do all PEMDAS operations in PEMDAS order. So far I've gotten it up to 3 step operations and being able to do addition, subtraction, multiplication, and division in PEMDAS order, but I don't know where I would even start with trying to implement parentheses and exponents into my code. Can someone ease help me out?