2-4 Modulus and Compound Assignment

Published: 14 May 2012
on channel: Code In Practice
98
0

http://www.codeinpractice.com

Hi,

In this part we discuss the modulus operator which is used to find the
remainder in a division rather than the quotient. The operator symbol is
the percentage character (%).

We also discuss compound assignment where we can do the calculation
and also preform the assignment It takes the form of :

variable1 operand = variable2

This short hand can be used in place of statements like :

variable1 =variable1 operand variable2

Both do the same thing


Thank you for viewing

Please Rate and Subscribe

http://www.codeinpractice.com


On this page of the site you can watch the video online 2-4 Modulus and Compound Assignment with a duration of hours minute second in good quality, which was uploaded by the user Code In Practice 14 May 2012, share the link with friends and acquaintances, this video has already been watched 98 times on youtube and it was liked by 0 viewers. Enjoy your viewing!