@@ -163,12 +163,12 @@ three variables with different data types:
163
163
After that, the program instructs the computer to display these values.
164
164
165
165
## 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.
169
169
170
170
### Assignment Operators Sample Program
171
- ```
171
+ ``` c
172
172
#include < stdio.h>
173
173
174
174
int main () {
@@ -185,21 +185,20 @@ int main() {
185
185
}
186
186
```
187
187
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.
191
190
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:
194
193
195
194
```
196
195
c = 10
197
196
c = 15
198
197
c = 3
199
198
```
200
199
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.
203
202
204
203
### Arithmetic Operators Sample Program
205
204
```
0 commit comments