Code:
x = (A+B) Math.max(C, D(0), E) + Math.min(F, G(0), H ) ) / 4;
Still working on learning code. I need some help with the above.
I think it is saying, add A and B together.
Then take the highest of C, D(0), E and add it to the lowest of F, G(0), H.
Multiply the total by the result of (A+B) [I am thinking it is multiplication since they are next to each other with no operator].
Then divide the result by 4.
Also, D and G have (0) which I am translating as the current period.
How did I do?
Comment