diff options
| -rw-r--r-- | Homework2/Source.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Homework2/Source.cpp b/Homework2/Source.cpp index fb4d858..0341506 100644 --- a/Homework2/Source.cpp +++ b/Homework2/Source.cpp @@ -5,8 +5,6 @@ #include <iostream> -#include "Header.h" - using namespace std; int main() { @@ -25,7 +23,15 @@ int main() { std::cout << "Temperature in Fahrenheit: " << fahrenheit << endl; +#ifdef VERBOSE +std::cout << " 30C to F"; +std::cin >> Fahrenheit; +fahrenheit = (9.0 / 5.0) * celsius + 32; +std::cout << " F = 86 " << fahrenheit << endl; +#endif + + + return 0; } -
\ No newline at end of file |