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 trial

iOS Swift Basics (retired) Operators Binary Operators

Shrikar Archak
Shrikar Archak
5,936 Points

There is a mistake in the video of binary operators . At 58th second

At 58th second the context is about remainder operator and you have 11 / 5 = 1 which is not correct instead it should have been 11 % 5 = 1

1 Answer

Stone Preston
Stone Preston
42,016 Points

the graphic is illustrating the concept of the modulo operator. Its not incorrect. it says 11 / 5 remainder = 1 which is true. it does not say 11 / 5 = 1.