Support Board
Date/Time: Fri, 10 Jan 2025 20:01:31 +0000
Post From: MODULO
[2016-09-22 17:49:12] |
User82615 - Posts: 106 |
HELLO I'VE BEEN READING THE MANUALS OF C++ AND I DON'T UNDERSTAND THE MODULO EXPESION %. CAN ANYBODY EXPLAIN ME THIS EXAMPLE THAT IS IN THE MANUAL OF C++? a = 11 % 3; the variable a will contain the value of 2 , since 2 is the reminder from dividing 11 between 3. CAN ANYBODY EXPLAIN ME THIS PLEASE? THANK YOU VERY MUCH |