floor division operator in c++ code example
Example: c++ integer division
// truncates decimal
cout << 20.0 / 3; // 6.66667
cout << 20 / 3; // 6
cout << -20 / 3; // -6
// truncates decimal
cout << 20.0 / 3; // 6.66667
cout << 20 / 3; // 6
cout << -20 / 3; // -6