diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..84542fc --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required(VERSION 3.23) +project(untitled) + +set(CMAKE_CXX_STANDARD 14) + +add_executable(untitled converter.cpp) \ No newline at end of file diff --git a/converter.cpp b/converter.cpp new file mode 100644 index 0000000..55a1b55 --- /dev/null +++ b/converter.cpp @@ -0,0 +1,22 @@ +#include + +using namespace std; + +int main() { + double input; + char Q; + cout << "Simple temperature converter" << "\n"; + cout << "Select conversion type (C F or Q for quit): "; + cin >> input; + if (input == Q) { + cout << "Quitting..." << endl; + } + return(0); +} + + + + +// +// Created by fuze on 8/13/22. +//