How To Compute The Greatest Common Divisor And Least Common Multiple in C++?

The C++ 17 standard brings us a lot of useful methods, templates, numerics, and algorithms. Two of the great numeric functions are std::gcm and std::lcm which are defined in the <numeric> header that computes the greatest common … Continue reading How To Compute The Greatest Common Divisor And Least Common Multiple in C++?