aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+
+}