Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 75cd1b6

Browse files
Update README.md
1 parent 5860b7f commit 75cd1b6

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

‎README.md‎

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ but the mentioned details above will serve as the starting point for
137137
full comprehension.
138138

139139
### Sample Program for Variables and Data Types
140-
```
140+
```c
141141
#include <stdio.h>
142142

143143
int main() {
@@ -154,16 +154,13 @@ int main() {
154154
}
155155
```
156156

157-
In this simple program, we declare and assign 3
158-
variables with different data types:
159-
1. variable `i` that contains 1 numeric value
160-
2. variable character `myletter[]`
161-
that contains letters `myletter`
162-
3. variable `x` that contains 1.23 value
163-
164-
After that, the program is telling the computer
165-
to display these values.
157+
In this simple program, we declare and assign
158+
three variables with different data types:
159+
1. an integer variable `i` that contains the numeric value `1`
160+
2. a character array `myletter[]` that contains the string `"myletter"`
161+
3. a float variable `x` that contains the value `1.23`
166162

163+
After that, the program instructs the computer to display these values.
167164

168165
## Operators
169166
In programming just like in mathematics, there are

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /