Basic Java Language: Difference between revisions
wikademia>Mirwin m →Identifiers: Insert link to Flashcards for Java Keywords |
include link to PEMDAS |
||
| Line 124: | Line 124: | ||
a = a-b/c*d; | a = a-b/c*d; | ||
</pre> | </pre> | ||
You would then use the order or operations, otherwise known as PEMDAS, to find the result of "a"; which would be: | You would then use the order or operations, otherwise known as [[PEMDAS]], to find the result of "a"; which would be: | ||
<pre> | <pre> | ||
a = a - (b/c)d | a = a - (b/c)d | ||