• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Java How do I add exponents and parentheses to my code?

SHjiwani

New Coder
This is the pastebin for my code: 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?
 
Top