diff options
| author | JerichoBingham <[email protected]> | 2021-10-13 14:11:11 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-13 14:11:11 -0700 |
| commit | f3eb176874d05794e4314a72e6b785dbc797a23c (patch) | |
| tree | af7267d05ce4c9dd6070fe5155f053cc5f762d58 | |
| parent | Add online IDE url (diff) | |
| download | archived-cst116-lab2-jerichobingham-f3eb176874d05794e4314a72e6b785dbc797a23c.tar.xz archived-cst116-lab2-jerichobingham-f3eb176874d05794e4314a72e6b785dbc797a23c.zip | |
Create Lab 2 3c. 2
| -rw-r--r-- | CST116F2021-Lab2/Lab 2 3c. 2 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/CST116F2021-Lab2/Lab 2 3c. 2 b/CST116F2021-Lab2/Lab 2 3c. 2 new file mode 100644 index 0000000..f1c07c4 --- /dev/null +++ b/CST116F2021-Lab2/Lab 2 3c. 2 @@ -0,0 +1,21 @@ +#include <iostream> + +using std::cout; + +int main() + +{ + +char ascii = 67; + +cout << ascii << '\n'; + +ascii = 43; + +cout << ascii << '\n'; + +cout << ascii << '\n'; + +return 0; + +} |