Explore BrainMass
Share

A C program that removes vowels from text

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

****This needs to be in "C"****

Write a function isvowel() that test whether or not charachter is a vowel. Use your function in a program that reads the standard input file and writes to the standard output file, deleting all vowels. Use redirection on a file containing some English text to test your program.

****This needs to be in "C"****

© BrainMass Inc. brainmass.com October 16, 2018, 8:44 pm ad1c9bdddf
https://brainmass.com/computer-science/program-execution/a-c-program-that-removes-vowels-from-text-160012

Solution Preview

There are two parts to this problem. First we will write the function to test to see if a given character is a vowel or not. Then we'll put that function into a program that we can use to test it.

The function will be called "isvowel". It is supposed to check to see if a given character is a vowel or not. This means that the function requires one input, the character, and one output which is the result of the check to see if the character is a vowel or not. We will use the "if" statement to check to see if the character is a vowel. We also need to be concerned with both ...

Solution Summary

In this solution I demonstrate how to write a C program that removes all vowels from text. The text is read from standard input and printed to standard output.

$2.19