diff options
| author | JacobAKnox <[email protected]> | 2021-10-06 19:50:26 -0700 |
|---|---|---|
| committer | JacobAKnox <[email protected]> | 2021-10-06 19:50:26 -0700 |
| commit | 1f7c898ea3a75ecef08c81ca7bb66703b43db53c (patch) | |
| tree | bd4a1487f1621ce34d49d8f08d06e182cd2aab99 /4.3Exercies.txt | |
| parent | 3b psudocode (diff) | |
| download | archived-cst116-lab2-jacobaknox-1f7c898ea3a75ecef08c81ca7bb66703b43db53c.tar.xz archived-cst116-lab2-jacobaknox-1f7c898ea3a75ecef08c81ca7bb66703b43db53c.zip | |
psudocode corrections
Diffstat (limited to '4.3Exercies.txt')
| -rw-r--r-- | 4.3Exercies.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/4.3Exercies.txt b/4.3Exercies.txt new file mode 100644 index 0000000..e002437 --- /dev/null +++ b/4.3Exercies.txt @@ -0,0 +1,16 @@ +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 |