diff --git a/第一讲 变量、输入输出、表达式与顺序语句/611.cpp b/第一讲 变量、输入输出、表达式与顺序语句/611.cpp new file mode 100644 index 0000000..1ed028b --- /dev/null +++ b/第一讲 变量、输入输出、表达式与顺序语句/611.cpp @@ -0,0 +1,11 @@ +#include + +int main() +{ + int a, b, d, e; + double c, f; + scanf("%d%d%lf", &a, &b, &c); + scanf("%d%d%lf", &d, &e, &f); + printf("VALOR A PAGAR: R$ %.2lf\n", b * c + e * f); + return 0; +}