Reversing Text

Run this next one, and look at how a simple change to the pattern gives a very different result. Here we’ll combine before rather than afterward, changing only Step 4 (how values are accumulated).

Before you keep reading...

Runestone Academy can only continue if we get support from individuals like you. As a student you are well aware of the high cost of textbooks. Our mission is to provide great books to you for free, but we ask that you consider a $10 donation, more if you can or less if $10 is a burden.

You have attempted 1 of 3 activities on this page