People in our industry are familiar with common math operators like addition, subtraction, multiplication and division. However, many people are not aware of modulus. In this video is a presentation on modulus and a Captivate sample coin flip project.
Most people are familiar with basic operators within a language. These operators include addition (+), subtraction (-), multiplication (*) and division (/). However, there’s another operator which is very useful. Programmers use this a fair bit. It’s called Modulus. The symbol that represents modulus is the percent sign (%).
This video will give you an explanation of modulus and show you a number of examples. Then you will be shown an example of how modulus is used when you want to create a random flip coin project to help teach probability.
Cheers