UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit 11f3e91f authored by James Taylor's avatar James Taylor
Browse files

Update 4-reverse_array.adoc

updated text formatting 
parent 90c06e1d
Branches
No related merge requests found
Pipeline #39774 failed with stage
in 2 seconds
......@@ -3,13 +3,13 @@
= ACTIVITY: Reverse Arrays
* Create an `array` containing a range with a random starting and stopping point. The starting point will be a random number from -10 through 0.
The ending point will be a random number from 1 through 20.
* Create an *array* containing a range with a random starting and stopping point. The _starting point_ will be a random number from -10 through 0.
The _ending point_ will be a random number from 1 through 20.
[NOTE]
For example, if the first random number is -3, and the second random number is 2, your `array` will be -3, -2, -1, 0, 1, 2
For example, if the first random number is -3, and the second random number is 2, your *array* will be -3, -2, -1, 0, 1, 2
* Create a `variable` that contains the contents of the `array` in `reverse`
* Create a *variable* that contains the contents of the _array_ in _reverse_
[NOTE]
Using the above example, your `reversed array` will be 2, 1, 0, -1, -2, -3
\ No newline at end of file
Using the above example, your *reversed array* will be 2, 1, 0, -1, -2, -3
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment