Skip to content

Commit 1008151

Browse files
Update README.md
1 parent 75cd1b6 commit 1008151

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,12 @@ three variables with different data types:
163163
After that, the program instructs the computer to display these values.
164164

165165
## Operators
166-
In programming just like in mathematics, there are
167-
operators and the most common in computer programming
168-
are assignment, arithmetic and comparison operators.
166+
In programming, just like in mathematics, there are operators. The most
167+
common in computer programming are assignment, arithmetic, and
168+
comparison operators.
169169

170170
### Assignment Operators Sample Program
171-
```
171+
```c
172172
#include <stdio.h>
173173

174174
int main() {
@@ -185,21 +185,20 @@ int main() {
185185
}
186186
```
187187

188-
The most common assignment operator is
189-
`=` and it should not be confused with
190-
the double `==` comparison operator.
188+
The most common assignment operator is `=`. It should not be confused
189+
with the double `==` comparison operator.
191190

192-
This time, it is simply assigning a
193-
value to a variable. The result is:
191+
In this example, the `=` operator is simply assigning a value to a
192+
variable. The result is:
194193

195194
```
196195
c = 10
197196
c = 15
198197
c = 3
199198
```
200199

201-
Variable `c` contains a value at a specific time.
202-
It was changed in the program three times.
200+
Variable `c` contains a value at a specific time. It was changed in the
201+
program three times.
203202

204203
### Arithmetic Operators Sample Program
205204
```

0 commit comments

Comments
 (0)