|
-
Jun 16th, 2007, 05:13 PM
#1
Thread Starter
Fanatic Member
Basic Algebraic formulas in C++
Hey guys, I'm trying to move on to C++. Basically, the problem is that I need to translate the following formula into computer code:
I want it to compute the result of intWidth + (intWidth / 2)
Using PEMDAS, we would divide intWidth by 2 first, then add intWidth to the result. I'm sure most of you already know this, but there it is just in case.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|