hi i am writing a program that counts words containing at least 3 different vowels using functions and also input files.i am confused here and don't know what to do.in this program i am to write another function that will output either 1 or 0 when a character is a vowel or not.please help me . this is where i've gotten so far
#include<iostream>
#include<fstream>
#include<string>
using namespace std;
void vowel(string, string, string)
int main()
{
string line,L1,L2,L3;
string filename = "vowel.txt";
ifstream inFile;
inFile.open("vowel.txt" , ios::in);
if ( !inFile.fail())
{
cout<<"\nThe file has been succesfully opened\n";
}
while(getline(inFile,line))
cout<<line<<endl;
vowel(L1, L2, L3);
return 0;
}
void vowel(string L1, string L2, string L3)
{
string word;
int count