From da036a3a93b86f29eb29bb391413835285e3d9f2 Mon Sep 17 00:00:00 2001 From: flykhan Date: Thu, 23 Mar 2023 23:37:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=B5=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 第一讲 变量、输入输出、表达式与顺序语句/609.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 第一讲 变量、输入输出、表达式与顺序语句/609.cpp diff --git a/第一讲 变量、输入输出、表达式与顺序语句/609.cpp b/第一讲 变量、输入输出、表达式与顺序语句/609.cpp new file mode 100644 index 0000000..d816774 --- /dev/null +++ b/第一讲 变量、输入输出、表达式与顺序语句/609.cpp @@ -0,0 +1,12 @@ +#include + +using namespace std; + +int main() +{ + int a, b; + double c; + scanf("%d%d%lf", &a, &b, &c); + printf("NUMBER = %d\nSALARY = U$ %.2lf", a, b * c); + return 0; +} \ No newline at end of file