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

Function circumference

Lab_06/Source.cpp:107–115  ·  view source on GitHub ↗

/Overloading functions for finding CIRCUMFERENCE///////

Source from the content-addressed store, hash-verified

105
106//////Overloading functions for finding CIRCUMFERENCE///////
107double circumference(double radius)
108{
109 double circumference1;
110 double input_radius;
111 circumference1 = 2 * 3.141592653589793238463 * radius;
112 cout << "The circumference of Circle: " << circumference1 << endl;
113 cout << endl;
114 return circumference1;
115}
116
117double circumference(double sideA, double sideB)
118{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected