Write a program: Encode.c
- Input: a text file
- Output: a text file encrypted in the
a) increment all vowels to the next
vowel in order (a, e, i, o ,u), i.e, ‘a’
turns to ‘e’, ‘e’ to ‘i’,‘i’ to ‘o’,’o’ to
‘u’ and ‘u’ to ‘a.’
b) increment all consonants by 3 in
order, i.e., ‘c’ turns to ‘f’, ‘d’ to ‘g’,
and so on.
Requirement: the only input/output
functions you can use are getchar() and
putchar(). If you want to use any other
function, you have to implement it by
Hint: Use a library function to determine
whether the character that getchar()
returns is an alphabet or not.
To run your program at your local computer,
type the following at the command line
RemoveEmptyLines < input_file > output_file
where you provide input_file as the name of
the input file and output_file as the name
of the output file.
28 фрілансерів(-и) у середньому готові виконати цю роботу за $21
Hello there, lots of experience teaching algorithms and programming with multiple languages (including C/C++). Let me know if you're interested and I can help with this C++ encoding task.. Cheers!