Let's Work
We covered a lot in this chapter, and now it is time to put everything we covered into practice. Here are two challenges. If you are comfortable with them, then work on them on your own. Otherwise, go back into this chapter, and you can follow along with me and see how to do each one:
Challenge 1: Write a function that accepts and returns a custom greeting (other than
Hello
, which we addressed earlier in this chapter) along with your first and last name.Challenge 2: Write a function that will take two numbers and either add, subtract, multiply, or divide those two numbers.