In today's class, we reviewed concepts we've been learning over the past few weeks, such as flow structures. Refer to previous posts if a refresher is needed.
We then practiced this by doing two kahoots and some practice problems such as https://drive.google.com/file/d/0B8J8S-phorS-WkdaYkNEM29uejQ/view?resourcekey=0-BPl1qwxFmuErTcNBH57q7Q.
Homework for this week can be found here: https://docs.google.com/forms/d/e/1FAIpQLSegJfIjB8Egdajk3mETgipHcK3tGF2ANJh81vBYxrXhRzUOng/viewform?usp=sf_link
Have a great Veteran's Day!
solution:
the charAt function starts with 0, so the 8th character in the string would be d. str.length will return 18, and the substring from index 0 to 5 is “donut”