计算正五边形的周长和面积
#include <bits/stdc++.h>using namespace std;int main(){ double n,S,C; double a,b; cin>>n; a=sqrt(5); b=25+10*a; S=sqrt(b)/4*n*n; cout<<S<<endl; C=5*n; cout<<C<<endl; return 0;}