aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacobAKnox <[email protected]>2021-10-06 19:56:29 -0700
committerJacobAKnox <[email protected]>2021-10-06 19:56:29 -0700
commit1c95e4d2cfb2cd7bf4a304a32f57b4402fb49dfa (patch)
treed057bb303b970bf0b1433754ac2904db5536a655
parentpsudocode corrections (diff)
downloadcst116-lab2-jacobaknox-1c95e4d2cfb2cd7bf4a304a32f57b4402fb49dfa.tar.xz
cst116-lab2-jacobaknox-1c95e4d2cfb2cd7bf4a304a32f57b4402fb49dfa.zip
delete old files
-rw-r--r--3a/4.1Exercises.txt2
-rw-r--r--3a/4.3Exercies.txt2
-rw-r--r--3a/6.1Exercies.txt2
-rw-r--r--4.1Exercises.txt7
-rw-r--r--4.3Exercies.txt16
-rw-r--r--6.1Exercies.txt8
6 files changed, 3 insertions, 34 deletions
diff --git a/3a/4.1Exercises.txt b/3a/4.1Exercises.txt
index 38e9589..dc795b0 100644
--- a/3a/4.1Exercises.txt
+++ b/3a/4.1Exercises.txt
@@ -4,4 +4,4 @@
4. "1234" String
5. '1' Character
6. A illegal
-7. "Marcus' illegal \ No newline at end of file
+7. "Marcus' illegal
diff --git a/3a/4.3Exercies.txt b/3a/4.3Exercies.txt
index a4f5979..e002437 100644
--- a/3a/4.3Exercies.txt
+++ b/3a/4.3Exercies.txt
@@ -13,4 +13,4 @@ e. char c = 1;
f. int a, b, c, d, f;
No error
g. char x = "This is a test.";
- '"This is a test."' is a string not a char \ No newline at end of file
+ '"This is a test."' is a string not a char
diff --git a/3a/6.1Exercies.txt b/3a/6.1Exercies.txt
index 2d754cd..7fe832c 100644
--- a/3a/6.1Exercies.txt
+++ b/3a/6.1Exercies.txt
@@ -5,4 +5,4 @@
3. x = 5 * a + 4;
valid statement
4. 0 = -15 * b;
- invalid variable names cannot be numerical literals \ No newline at end of file
+ invalid variable names cannot be numerical literals
diff --git a/4.1Exercises.txt b/4.1Exercises.txt
deleted file mode 100644
index dc795b0..0000000
--- a/4.1Exercises.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-1. -12.34 numeric
-2. 'Hello' illegal
-3. "F" String
-4. "1234" String
-5. '1' Character
-6. A illegal
-7. "Marcus' illegal
diff --git a/4.3Exercies.txt b/4.3Exercies.txt
deleted file mode 100644
index e002437..0000000
--- a/4.3Exercies.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-3.
-a. int a, int b;
- There should not be a second "int" after the comma
-b. int a = b;
- int b = 0;
- A cannot be assigned the value b before be is declared
-c. int a = 0, b = 3.5;
- b is not an int
-d. char grade = "A";
- '"A"' is a string not a char
-e. char c = 1;
- 1 is a numerical value not a char
-f. int a, b, c, d, f;
- No error
-g. char x = "This is a test.";
- '"This is a test."' is a string not a char
diff --git a/6.1Exercies.txt b/6.1Exercies.txt
deleted file mode 100644
index 7fe832c..0000000
--- a/6.1Exercies.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-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