We have been studying C string functions, and in class we reviewed these: strlen, strcpy, strncpy, strchr,strrchr, strstr, strcmp, strcat This week you will write your own version of some of these string functions. **Important: You cannot use the built in string functions. You must implement each stage described below in a separate function and not in main()** Specifically you will write one function each for the below stages. Running the program would look like: Enter a word: cat That word has length: 3 cat without vowels is: ct Enter how many duplicates to make: 3 ctctct Stage 1: Write the myStrlen() function so that it returns the length of the any given string Stage 2: Write a function removeVowels() such that it removes all the vowels in the word entered by the user and returns a vowel-less word. Stage 3: Write a function duplicateString() such that it duplicates the string of vowel-less words some number of times.
We have been studying C string functions, and in class we reviewed these: strlen, strcpy, strncpy, strchr,strrchr, strstr, strcmp, strcat This week you will write your own version of some of these string functions. **Important: You cannot use the built in string functions. You must implement each stage described below in a separate function and not in main()** Specifically you will write one function each for the below stages. Running the program would look like: Enter a word: cat That word has length: 3 cat without vowels is: ct Enter how many duplicates to make: 3 ctctct Stage 1: Write the myStrlen() function so that it returns the length of the any given string Stage 2: Write a function removeVowels() such that it removes all the vowels in the word entered by the user and returns a vowel-less word. Stage 3: Write a function duplicateString() such that it duplicates the string of vowel-less words some number of times.
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 12RQ
Related questions
Question
7.9 Lab 7: C Strings
We have been studying C string functions, and in class we reviewed these: strlen, strcpy, strncpy, strchr,strrchr, strstr, strcmp, strcat This week you will write your own version of some of these string functions.
**Important:
You cannot use the built in string functions. You must implement each stage described below in a separate function and not in main()**Specifically you will write one function each for the below stages. Running the program would look like:
Enter a word: cat That word has length: 3 cat without vowels is: ct Enter how many duplicates to make: 3 ctctctStage 1: Write the myStrlen() function so that it returns the length of the any given string
Stage 2: Write a function removeVowels() such that it removes all the vowels in the word entered by the user and returns a vowel-less word.
Stage 3: Write a function duplicateString() such that it duplicates the string of vowel-less words some number of times.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT