aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerichoBingham <[email protected]>2021-10-13 14:11:11 -0700
committerGitHub <[email protected]>2021-10-13 14:11:11 -0700
commitf3eb176874d05794e4314a72e6b785dbc797a23c (patch)
treeaf7267d05ce4c9dd6070fe5155f053cc5f762d58
parentAdd online IDE url (diff)
downloadarchived-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. 221
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;
+
+}