This sounds distinctly like homework, which you will not get a good response to here if you are asking us to do it for you.
If, as you say, you have been at this for hours, then you must have some code showing what you have tried so far. If you post that, and an explanation of what problems you are having with your code, people may be prepared to point you in the right direction.
In reply to Re: Solving math equations
by BrowserUk
in thread Solving math equations
by FireBird34
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |