From ae722b58628d00ecab06e87aba05c54bc1d96683 Mon Sep 17 00:00:00 2001 From: James Lawrance Date: Wed, 6 Oct 2021 21:10:33 -0700 Subject: Lab 2 work --- CST116F2021-Lab2/CST116F2021-Lab2.cpp | 45 ++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 9 deletions(-) (limited to 'CST116F2021-Lab2/CST116F2021-Lab2.cpp') 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 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 -- cgit v1.2.3