Activity 28.4.
Please visit today’s Google Doc at the bottom of the page to sign up for a function you wish to write. We’ll also share our code in this Google Doc.
For your convenience, here is a code window for you to test individual functions. Note that you’ll have to write your own
main()
function that tests your code.Access to our class google doc is provided below. Please make sure that you have turned off “smart quotes” before pasting any code into the below google doc. Smart quotes are those curly pretty-looking quotation marks that’ll get our compiler all bent out of shape. To turn off smart quotes in google:
- Open any Google doc.
- Click on "Tools" in the menu bar.
- Select "Preferences..."
- Uncheck the box "Use smart quotes".
Note that this choice will affect all of your future Google documents: whenever you hit the quotation mark key on your keyboard, from now on straight marks will appear. This does not affect already existing smart quotes in existing documents - only newly typed quotes are affected. As soon as you turn smart quotes back on by checking the "Use smart quotes" box, smart quotes will be enabled again.
If you cannot see this document, please click here.