aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab2/CST116F2021-Lab2.cpp
diff options
context:
space:
mode:
authorJames Lawrance <[email protected]>2021-10-06 21:10:33 -0700
committerJames Lawrance <[email protected]>2021-10-06 21:10:33 -0700
commitae722b58628d00ecab06e87aba05c54bc1d96683 (patch)
treefbc20001102002fab52989100fa22d5415279375 /CST116F2021-Lab2/CST116F2021-Lab2.cpp
parentTextbook pg. 72 section 4.3 #1 problem (diff)
downloadcst116-lab2-jemersonlawrance-ae722b58628d00ecab06e87aba05c54bc1d96683.tar.xz
cst116-lab2-jemersonlawrance-ae722b58628d00ecab06e87aba05c54bc1d96683.zip
Lab 2 work
Diffstat (limited to 'CST116F2021-Lab2/CST116F2021-Lab2.cpp')
-rw-r--r--CST116F2021-Lab2/CST116F2021-Lab2.cpp45
1 files changed, 36 insertions, 9 deletions
diff --git a/CST116F2021-Lab2/CST116F2021-Lab2.cpp b/CST116F2021-Lab2/CST116F2021-Lab2.cpp
index 9292e27..93da427 100644
--- a/CST116F2021-Lab2/CST116F2021-Lab2.cpp
+++ b/CST116F2021-Lab2/CST116F2021-Lab2.cpp
@@ -4,12 +4,39 @@
#include <iostream>
using namespace std;
-int main()
-{
- int x;
- cin >> x;
- if (x == 5)
- {
- cout << x;
- }
-}
+// int main()
+// {
+ // int age = 19;
+ // float shoe_size = 8.5;
+ // int altitude = 0;
+ // char gender = 70;
+ // int weight = 175;
+ // return 0;
+// }
+
+//int main()
+//{
+ // char ascii = 67;
+
+ // cout << ascii << '\n';
+
+ // ascii = 43;
+ // cout << ascii << '\n';
+ // cout << ascii << '\n';
+
+ // return 0;
+//}
+ //
+
+//int main()
+//{
+ // int days_in_year = 365;
+ // int age = 18;
+ // int age_in_days = days_in_year * age;
+
+ // cout << "My age in days since my 18th birthday: "
+ // << age_in_days;
+
+ // return 0;
+
+ //}; \ No newline at end of file