diff options
| author | Taylor Rogers <[email protected]> | 2022-11-05 12:42:08 -0700 |
|---|---|---|
| committer | Taylor Rogers <[email protected]> | 2022-11-05 12:42:08 -0700 |
| commit | 2cf3996cb39ac4bb5c7f69194bbf2e700d63de15 (patch) | |
| tree | 30746b3edd8cbbdc09bbfb5a0055af0feea71770 | |
| parent | Started adding variables (diff) | |
| download | cst116-lab2-taylorrog-2cf3996cb39ac4bb5c7f69194bbf2e700d63de15.tar.xz cst116-lab2-taylorrog-2cf3996cb39ac4bb5c7f69194bbf2e700d63de15.zip | |
Added function declarations
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index a85abc9..5d97bec 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -39,7 +39,7 @@ // -#include <iostream>; +#include <iostream> using std::cout; @@ -49,11 +49,20 @@ using std::endl; char Tunit = 0; int TvalF = 0; int TvalC = 0; +int Wspeed = 0; const int Fmax = 121; -const int Fmin = -80; +signed const int Fmin = -80; const int Cmax = 49.5; -const int Cmin = -62; +signed const int Cmin = -62; +const int Wmax = 231; +const int Wmin = 0; + +void FtoCfunc(int FtoCval); + +void CtoFfunc(int CtoFval); + +void Wchfunc(int Wchill); int main() { |