Question: C programming Question 2-25 pts A word is considered elfish if it contains the letters: e, 1, and f in it, in any order. For
Question 2-25 pts A word is considered elfish if it contains the letters: e, 1, and f in it, in any order. For example, we would say that the following words are elfish: whiteleaf, tasteful, unfriendly, and waffles, because they each contain those letters. Write a function called elfish that, given a word, tells us if that word is elfish or not. pth fd retained in the sec .Write a more generalized predicate function called x-ish that, given two words, returns true if all the letters of the first word are contained in the second. Hint: First you should find a way to make user able to enter a word (string). You can use an array of type char to store a word. You can also think of using getchar0 to read a series of characters. The output of your functions can be either 1 or 0 instead of true or false
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
