2-4 Modulus and Compound Assignment

Publié le: 14 mai 2012
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne 2-4 Modulus and Compound Assignment durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code In Practice 14 mai 2012, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 98 fois et il a aimé 0 téléspectateurs. Bon visionnage!