Write a function in C++ called HCF() that calculates the hcf of two numbers using a recursive function definition. In the main code find the hcf of n numbers using the above recursive function. Print the final hcf.
The recursive function definition part, I have accomplished. But I cant do the next part of the programme. Please help me to solve this problem...
Aucun commentaire:
Enregistrer un commentaire