How to find the hcf of 2 no.s in c++?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to find the hcf of 2 no.s in c++??

31st Aug 2017, 4:23 PM
Vidhu Verma
Vidhu Verma - avatar
2 Answers
21st Feb 2018, 5:25 PM
Abhimanyu Gupta
Abhimanyu Gupta - avatar
+ 1
I only know C# and so I have created the code in C#.. You can check the algorithm and try it in C++ Hope you would find it useful.. If you find any fault in the code, plz tell me. I will correct that.. https://code.sololearn.com/c98Ux16vkqFM/?ref=app
31st Aug 2017, 5:31 PM
Sanjeev Kumar
Sanjeev Kumar - avatar