diff options
| author | James Lawrance <[email protected]> | 2021-10-06 21:10:33 -0700 |
|---|---|---|
| committer | James Lawrance <[email protected]> | 2021-10-06 21:10:33 -0700 |
| commit | ae722b58628d00ecab06e87aba05c54bc1d96683 (patch) | |
| tree | fbc20001102002fab52989100fa22d5415279375 /CST116F2021-Lab2/CST116F2021-Lab2.cpp | |
| parent | Textbook pg. 72 section 4.3 #1 problem (diff) | |
| download | cst116-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.cpp | 45 |
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 |