thanks, i forgot to check for numbers, we have a short list of characters to worry about...
thanks for all the input, i at least have some direction now. i'll get back to you with an update.
...
Type: Posts; User: rybo7g
thanks, i forgot to check for numbers, we have a short list of characters to worry about...
thanks for all the input, i at least have some direction now. i'll get back to you with an update.
...
the function findconsonants, actually finds vowels, and returns the (length minus the vowels found)... the value that is returned includes consonants and punctuation marks, so i subtracted them.
...
#include<iomanip>
#include<string>
#include<cctype>
#include<iostream>
using namespace std;
string format(string, int); //format word, first letter capital, rest lower
int...
the program is designed to read in from a file and stop at the end of file. the file consists of about 45 words, that we are asked to reformat, count the punctuation marks, and consonants, etc.. the...