diff options
| author | Syndamia <kamen@syndamia.com> | 2023-10-13 07:12:56 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2023-10-13 07:12:56 +0300 |
| commit | a597f37a109398549d8ab098a2d6de19a4a1b4b8 (patch) | |
| tree | bd1db99034da19fd3ce103c830a5ef84e5038bb8 /week01/exercise03.cpp | |
| parent | 702040db0f3c89e0300ca617d0f45f64bee19349 (diff) | |
| download | upp-2023-solutions-a597f37a109398549d8ab098a2d6de19a4a1b4b8.tar upp-2023-solutions-a597f37a109398549d8ab098a2d6de19a4a1b4b8.tar.gz upp-2023-solutions-a597f37a109398549d8ab098a2d6de19a4a1b4b8.zip | |
[w1] Added solutions
Diffstat (limited to 'week01/exercise03.cpp')
| -rw-r--r-- | week01/exercise03.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 <iostream> + +int main() { + int fahrenheit; + std::cin >> fahrenheit; + std::cout << ((fahrenheit - 32) * 5 / 9); +} |
