Please help me!

I am working on a calculator code in c++. I have absolutly no idea what to do for my least common multiple code. I need to make it using only the cmath library. Please help!
here's a decent explanation of the theory:
https://www.mathsisfun.com/least-common-multiple.html
Topic archived. No new replies allowed.