Question: Create a function evenLetters ( ) that has a string parameter named word. The function will return the even letters in a word. The even

Create a function evenLetters() that has a string parameter named word. The function will return the even letters in a word. The even letters are the letters that have an even numbered index. If the word is less than 3 letters long, return a message "the word is too short".Create a function halfWord() which returns the second half of a word with each letter separated by a dash. Your function will accept a string parameter called word. If the word is less than 3 letters long, return a message "the word is too short". halfWord("Chetser")^(')t-s-e-r^(') halfWord("Rocky")^(1)c-k-y^(') halfWord("CDM")^(1)D-M^(1) halfWord("Hi")'Your word is too short'Write a function guess() that prompts the user to guess a number from 1 to 10. Your function will accept a parameter called answer which will be an int between 1 and 10. Your function will continue to prompt the user until they guess the correct number. Your function should use similar prompts shown below.
 Create a function evenLetters() that has a string parameter named word.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!