aboutsummaryrefslogtreecommitdiff
path: root/6.1Exercies.txt
diff options
context:
space:
mode:
authorJacobAKnox <[email protected]>2021-10-06 19:50:26 -0700
committerJacobAKnox <[email protected]>2021-10-06 19:50:26 -0700
commit1f7c898ea3a75ecef08c81ca7bb66703b43db53c (patch)
treebd4a1487f1621ce34d49d8f08d06e182cd2aab99 /6.1Exercies.txt
parent3b psudocode (diff)
downloadarchived-cst116-lab2-jacobaknox-1f7c898ea3a75ecef08c81ca7bb66703b43db53c.tar.xz
archived-cst116-lab2-jacobaknox-1f7c898ea3a75ecef08c81ca7bb66703b43db53c.zip
psudocode corrections
Diffstat (limited to '6.1Exercies.txt')
-rw-r--r--6.1Exercies.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/6.1Exercies.txt b/6.1Exercies.txt
new file mode 100644
index 0000000..7fe832c
--- /dev/null
+++ b/6.1Exercies.txt
@@ -0,0 +1,8 @@
+1. y = 5x + 1;
+ valid statement
+2. x^2 + 2x + 1 = 0;
+ invalid assignment can only be done on a lone variable to the left of an =
+3. x = 5 * a + 4;
+ valid statement
+4. 0 = -15 * b;
+ invalid variable names cannot be numerical literals