+ 3
How to calculate modulus ?
calculate modulus
2 odpowiedzi
+ 17
Modulus is the operator which returns the remainder of division operation...
For eg.:-
cout<<9%2; // outputs:- 1 as 9/2=4 ---> 9=4*2+"1"
cout<<25%7
// outputs :- 4
NOTE:- using modulus operator on floating point nos. will cause error...
In C++ :- 5th slide
https://www.sololearn.com/learn/CPlusPlus/1609/?ref=app
+ 2
yea i remember it now... i was know it but forgot but now i rememberd thank you :)