Write a program to find the area and circumfer of circle in c++ program

#include <iostream>
#define pi 3.14
using namespace std;
int main()
{
    float r,ar,c;
    cout<<"enter the radius of the circle";
    cin>>r;
    ar=pi*r*r;                            //logic
    c=2*pi*r;
    cout<<"circunfrence="<<c<<endl;
    cout<<"area="<<ar;
    return 0;
}

Output:-

enter the radius of circle3
circunfrence=18.84
area=28.26