diff options
Diffstat (limited to 'CST116F2021-Lab2/CST116F2021-Lab2.cpp')
| -rw-r--r-- | CST116F2021-Lab2/CST116F2021-Lab2.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/CST116F2021-Lab2/CST116F2021-Lab2.cpp b/CST116F2021-Lab2/CST116F2021-Lab2.cpp index 2c7db61..9292e27 100644 --- a/CST116F2021-Lab2/CST116F2021-Lab2.cpp +++ b/CST116F2021-Lab2/CST116F2021-Lab2.cpp @@ -2,12 +2,14 @@ // #include <iostream> +using namespace std; int main() { - short age = 19; - float shoe size = 8.5; - short altitude = 0; - char gender = F; - short weight = 175; -}
\ No newline at end of file + int x; + cin >> x; + if (x == 5) + { + cout << x; + } +} |