Exercises 01



Create the following functions using FOR LOOPS

  1. Write a function called printEachLetter()that will print out each letter of a string given to it
  2. Write a function called isD6AAtBeginning() that will return a message of "true" of "false" depending upon whether the first 3 characters of a string are "D6A"
  3. Write a function called isD6AAtEnd()that will return a message of "true" of "false" depending upon whether the last 3 characters of a string are "D6A"

Running the Functions

Provide evidence of your code running Exercise 1 here:

Provide evidence of your code running Exercise 2 here:

Provide evidence of your code running Exercise 3 here: