Kod:
#include "stdafx.h"
#include <iostream>
#define PI 3.14
using namespace std;
double r,alan,cevre;
int _tmain(int argc, _TCHAR* argv[])
{
cout<<"Yaricap giriniz:"<<endl;
cin>>r;
alan=PI*r*r;
cevre=2*PI*r;
cout<<"Alan :"<<alan<<endl;
cout<<"Cevre:"<<cevre<<endl;
system("Pause");
return 0;
}
system("PAUSE");
return EXIT_SUCCESS;
}