#hlep output

5 messages · Page 1 of 1 (latest)

candid raptorBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

#

@abstract pagoda

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

abstract pagoda
#

#include <stdio.h>
int main() {
printf("%d", hcf(6, 4));
return 0;
}
int hcf(int n1, int n2) {
return (n2 != 0) ? hcf(n2, n1 % n2): n1;
}

#

i found out the output is 4

#

eh