#include <iostream>
#include <iomanip>
usingnamespace std;
int radius(int);
void both(int&, int&, int&);
int main()
{
int c, r, a;
cout << "Hi there!" << endl;
r = radius(r);
both(a,c,r);
cout << "The Circumference is: " << c << endl;
cout << "The Area is: " << a << endl;
return 0;
}
//gets radius
int radius(int r)
{
cout << "Enter a radius: ";
cin >> r;
return r;
}
//gets circ and area
void both(int& a, int& r, int& c)
{
r = radius(r);
c = 2 * (3.14) * r;
a = 2 * (3.14) * r * r;
}