Write the following functions. Each of these functions should have a single parameter -- accepting a c-style string as an argument. The function should only do what is specified (note that none of...

Write the following functions. Each of these functions should have a single parameter -- accepting a c-style string as an argument. The function should   only do what is specified (note that none of these functions do any output to the screen). Your functions should use   const in the prototype wherever it is appropriate: Create 4 functions listed below. Each function should take in a single c-style string as an argument. Your functions should use  const whenever appropriate. Write a function that counts and returns the number of vowels in the string. (For the purposes of this exercise, we are talking about the standard 5 vowels -- A, E, I, O, U). Write a function that counts and returns the number of consonants in the string. Write a function that converts the string to all lowercase. Write a function that converts the string to all uppercase. Write the main function that offers a menu and allows the user to test the functions you have implemented.

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here