Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialWestley Brown
Courses Plus Student 2,566 PointsTeachers note indicate division before multiplication, is standard arithmetic Multiply first, then Division?
PEDMAS is the acronym I remember. /*% was in teacher notes or is it */ % ?.
1 Answer
Jason Anello
Courses Plus Student 94,610 PointsHi Westley,
Those 3 operators all have the same precedence. The Teacher's Notes also mentions "Left to right".
This means that if you have more than one of these operators then you would evaluate them in a left to right order.