Question: #include #include #include using namespace std; int main ( ) { string word; cin > > word; bool found = / * Your code goes
#include
#include
#include
using namespace std;
int main
string word;
cin word;
bool found Your code goes here ;
int position Your code goes here ;
string ch;
while Your code goes here
ch word.substr Your code goes here ;
if ch a ch e ch i ch o ch u
ch A ch E ch "I" ch O ch U
Your code goes here
else
Your code goes here
if Your code goes here
cout "First vowel: Your code goes here endl;
cout "Position: Your code goes here endl;
else
cout No vowels" endl;
return ;
Complete the following program to find the first vowel in a word.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
