Recent | Popular
#c++ #number #number_theory #modulo
a
// if you want to know a distance between the number and divisor of other number int n,m; n = 3, m = 17; int mod = 17 % 3; //3 is a divisor of 15 and distance between 15 and 18 is 2 cout<<mod; // 2
Tue Sep 06 2022 16:54:56 GMT+0000 (Coordinated Universal Time)
Fri Sep 02 2022 13:04:44 GMT+0000 (Coordinated Universal Time) https://www.geeksforgeeks.org/modulo-operator-in-c-cpp-with-examples/