" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2025 KUDO.TIPS - All rights reserved.
int euklides(int x, int y)
{
if (x == 0) return y;
if (y > x) return euklides(y % x, x);
return euklides(x % y, y);
}
int main()
{
std::cout << euklides(15,21) << std::endl;
}