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