Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Çagdas Bozman
committed
Mar 7, 2013
1 parent
5749a77
commit 7195559
Showing
4 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<h3>Exercise: Get the Punctuation Right!</h3> | ||
|
||
<p>Let's see if you got this right. Here is a sequence of erroneous | ||
<p>Let's see if you got this right. Here is a sequence of <strong>erroneous</strong> | ||
commands. Your task is to fix all of them in order to get the correct | ||
answer at the end.</p> | ||
|
||
<br /> | ||
<p><code>let fernand = "King of Castille";</code></p> | ||
|
||
<br/> | ||
<p><code>let rodrigue = "The cid"; let diegue = "cid's father"</code></p> | ||
|
||
<br/> | ||
<p><code>characters = [ fernand;; rodrigue;; diegue ]</code></p> | ||
|
||
<br/> | ||
<p><code>rodrigue.[4] <- 'C' ; diegue.[0] <- rodrigue.[4] ;</code></p> | ||
|
||
<br/> | ||
<p><code>characters</code></p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters