diff options
| author | Austin Guertin <[email protected]> | 2021-10-13 15:57:45 -0700 |
|---|---|---|
| committer | Austin Guertin <[email protected]> | 2021-10-13 15:57:45 -0700 |
| commit | 9521ef94e2799928ef05db2d3262facc4d04bd6f (patch) | |
| tree | 508ec45e281dd6301f301b54644137c48eb2b649 /CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp | |
| parent | second push (diff) | |
| download | archived-cst116-lab3-austinsworld15-9521ef94e2799928ef05db2d3262facc4d04bd6f.tar.xz archived-cst116-lab3-austinsworld15-9521ef94e2799928ef05db2d3262facc4d04bd6f.zip | |
third push
Diffstat (limited to 'CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp')
| -rw-r--r-- | CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp | 50 |
1 files changed, 30 insertions, 20 deletions
diff --git a/CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp b/CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp index 0de941b..cae55e8 100644 --- a/CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp +++ b/CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp @@ -1,20 +1,30 @@ -// CST116F2021-Lab3.cpp : This file contains the 'main' function. Program execution begins and ends there. -// - -#include <iostream> - -int main() -{ - printf("hi"); -} - -// Run program: Ctrl + F5 or Debug > Start Without Debugging menu -// Debug program: F5 or Debug > Start Debugging menu - -// Tips for Getting Started: -// 1. Use the Solution Explorer window to add/manage files -// 2. Use the Team Explorer window to connect to source control -// 3. Use the Output window to see build output and other messages -// 4. Use the Error List window to view errors -// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project -// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file +CST116 C++ + +6.4 5a pg 126 #1 + + 1. +0 +2 +3 +2 +1 + +7.1 pg 148 #1-6 + + 1. The sign is reversed. it should be <= + int_exp1 <= int_exp2 + 2. There should be 2 equal signs + int_exp1 == int_exp2 + 3. ! should be on the other side + int_exp1 != int_exp2 + 4. Cant compare a string literal using relational quotes + char_exp == 'A' + 5. This is correct + 6. Has to have int_exp1 (on each side of operator) + int_exp1 < 2 && int_exp1 > -10 + +7.2 pg 155 #1 + + + + |