Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I want to calculate hcf/lcm of two numbers. how can i do using coding.

kindly help me.

Thanks in Advance.
Posted
Updated 29-Dec-19 3:42am
v2

 
Share this answer
 
you can find the logic here Convert this to C# code
 
Share this answer
 
Hope this[^] might help you.

The same question is asked here.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900