MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / main4

Function main4

Lab_07/gcd.cpp:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17int main4()
18{
19 cout << "\t\t\t***Program to calculate the G.C.D for two integers using recursion.***" << endl;
20 cout << "Please enter two integers: " << endl;
21 int x, y;
22 cin >> x >> y;
23 cout << "The G.C.D of " << x << "and " << y << " is " << gcd(x, y); // calling function in the main function
24 return 0;
25}

Callers

nothing calls this directly

Calls 1

gcdFunction · 0.85

Tested by

no test coverage detected