From 9cac8f9c5d44bf8614644d30fa9ca2baa2af64c0 Mon Sep 17 00:00:00 2001 From: flykhan Date: Thu, 23 Mar 2023 23:09:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=86=E7=9A=84=E9=9D=A2=E7=A7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 第一讲 变量、输入输出、表达式与顺序语句/604.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 第一讲 变量、输入输出、表达式与顺序语句/604.cpp diff --git a/第一讲 变量、输入输出、表达式与顺序语句/604.cpp b/第一讲 变量、输入输出、表达式与顺序语句/604.cpp new file mode 100644 index 0000000..d38163b --- /dev/null +++ b/第一讲 变量、输入输出、表达式与顺序语句/604.cpp @@ -0,0 +1,11 @@ +#include + +using namespace std; + +int main() +{ + double pi = 3.14159, r; + scanf("%lf", &r); + printf("A=%.4f", pi * r * r); + return 0; +} \ No newline at end of file