I have to take the input user string, and uppercase the vowels and display it back.
EX: Enter your fullname: Barack Obama
output: bArAck ObAmA
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
char c;
cout << "Enter your full name: " << endl;
cin.get(c);
while (c != '\n')
{
if (c == 'a' || c == 'A' || c == 'e' || c == 'E' || c == 'i' || c == 'I' || c == 'o' || c == 'O' || c == 'u' || c == 'U')
toupper(c);
cin.get(c);
}