From 0e8b37a556f54675c496b0953d2f7a38687d130c Mon Sep 17 00:00:00 2001 From: Ren Baoshuo Date: Tue, 3 Aug 2021 13:52:08 +0800 Subject: [PATCH] =?UTF-8?q?610.=20=E5=B7=A5=E8=B5=84=E5=92=8C=E5=A5=96?= =?UTF-8?q?=E9=87=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://www.acwing.com/problem/content/submission/code_detail/6861792/ --- AcWing/610/610.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 AcWing/610/610.cpp diff --git a/AcWing/610/610.cpp b/AcWing/610/610.cpp new file mode 100644 index 00000000..33c8d9f8 --- /dev/null +++ b/AcWing/610/610.cpp @@ -0,0 +1,11 @@ +#include + +using namespace std; + +int main() { + string s; + double a, b; + cin >> s >> a >> b; + cout << "TOTAL = R$ " << fixed << setprecision(2) << a + 0.15 * b << endl; + return 0; +}