From e749379ab05c2a66f6c8d6c533c79e9dff53fa74 Mon Sep 17 00:00:00 2001 From: flykhan Date: Fri, 24 Mar 2023 10:55:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=B9=E8=80=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 第一讲 变量、输入输出、表达式与顺序语句/615.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 第一讲 变量、输入输出、表达式与顺序语句/615.cpp diff --git a/第一讲 变量、输入输出、表达式与顺序语句/615.cpp b/第一讲 变量、输入输出、表达式与顺序语句/615.cpp new file mode 100644 index 0000000..be34631 --- /dev/null +++ b/第一讲 变量、输入输出、表达式与顺序语句/615.cpp @@ -0,0 +1,12 @@ +#include + +using namespace std; + +int main() +{ + int x; + float y; + scanf("%d%f", &x, &y); + printf("%.3f km/l", x / y); + return 0; +} \ No newline at end of file