Skip to content

Commit 7807a8d

Browse files
authored
Update README.md
1 parent a75202e commit 7807a8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chapter03/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ meters. Use symbolic constants to represent the various conversion factors.
1818
There are 60 seconds of arc to a minute and 60 minutes of arc to a degree; represent these values with symbolic constants.
1919
You should use a separate variable for each input value.
2020
A sample run should look like this:
21-
```c
21+
```makefile
2222
Enter a latitude in degrees, minutes, and seconds:
2323
First, enter the degrees: 37
2424
Next, enter the minutes of arc: 51
@@ -31,7 +31,7 @@ value (use type long, or, if available, long long) and that then displays the eq
3131
hours, minutes,and seconds. Use symbolic constants to represent
3232
the number of hours in the day, the number of minutes in an hour, and the number
3333
of seconds in a minute. The output should look like this:
34-
```c
34+
```makefile
3535
Enter the number of seconds: 31600000
3636
31600000 seconds = 365 days, 17 hours, 46 minutes, 40 seconds
3737
```
@@ -41,7 +41,7 @@ the current population of the U.S. (or of some other nation of your choice). Sto
4141
the information in variables of type long long.
4242
Have the program display the percent that the U.S. (or other nation’s) population is of the world’s population.
4343
The output should look something like this:
44-
```
44+
```makefile
4545
Enter the world's population: 6898758899
4646
Enter the population of the US: 310783781
4747
The population of the US is 4.50492% of the world population.

0 commit comments

Comments
 (0)