/*
This functions returns the area and the circumference of a circle.
*/
#include <iostream>
using namespace std;
void area_circumference(float radius, float& area, float& 
circumference);
int main()
{
	float radius, area, circumference;
	cout << "Enter the radius: ";
	cin >> radius;
	// Call the function
	area_circumference(radius, area, circumference);
	// Display the result
	cout << "The area is: " << area << endl;
	cout << "The circumference is: " << circumference << endl;
	return 0;
}

void area_circumference(float radius, float& area, float& circumference)
{
	area = 3.14 * radius * radius;
	circumference = 2 * 3.14 * radius;
}
