Skip to content

Commit 99c0af3

Browse files
Update README.md
1 parent a8388be commit 99c0af3

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,11 @@ In a text file `assignment2.txt`, answer the following questions:
2323
2424
2. What are logical errors and how are they different from syntax errors?
2525
26-
3. What is the outcome of the following conditional statement if the value of variable x is 10?
27-
```
28-
x >= 10 && x < 25 && x != 12
29-
```
26+
3. What is the outcome of the following conditional statement if the value of variable x is 10?
27+
```x > = 10 && x < 25 && x != 12```
3028
31-
4. Is the following expression valid? Why or why not?
32-
```
33-
0 < x < 15
34-
```
29+
4. Is the following expression valid? Why or why not?
30+
```0 < x < 15 ```
3531
3632
5. Which of the following are valid? What is wrong with any that are invalid?
3733
1. if (a > b) then c = 0;
@@ -43,3 +39,6 @@ x >= 10 && x < 25 && x != 12
4339
Please include your name and a description in a comment at the top of your code files. Please also include your name at the top of your assignment1.txt file.
4440
4541
All files must be submitted via GitHub by 10:00am 6/30.
42+
```
43+
x >= 10 && x < 25 && x != 12
44+
```

0 commit comments

Comments
 (0)