From a597f37a109398549d8ab098a2d6de19a4a1b4b8 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 13 Oct 2023 07:12:56 +0300 Subject: [w1] Added solutions --- week01/exercise03.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 week01/exercise03.cpp (limited to 'week01/exercise03.cpp') diff --git a/week01/exercise03.cpp b/week01/exercise03.cpp new file mode 100644 index 0000000..bb08592 --- /dev/null +++ b/week01/exercise03.cpp @@ -0,0 +1,7 @@ +#include + +int main() { + int fahrenheit; + std::cin >> fahrenheit; + std::cout << ((fahrenheit - 32) * 5 / 9); +} -- cgit v1.2.3