标签:
var r:longint; begin readln(r); writeln(3.1415926*r*r:0:2); writeln(3.1415926*r*2:0:2); end.
#include <stdio.h> int main(){ int a; scanf("%d",&a); printf("%.2f\n",a*a*3.14); printf("%.2f\n",a*6.28); return 0; }
标签:
原文地址:http://www.cnblogs.com/A1269180380/p/5078874.html