标签: precision
#include <iostream> #include <iomanip> using namespace std; int main() { double A,R; R=100.64; R=R*R; A=3.14159*R; cout<< setprecision(3)<<A<<endl; return 0; }