#include <iostream>
#include <string.h>
using namespace std;
// Function to remove vowels from a string
string RemoveVowels(string str)
{
for (int i = 0; i < str.length(); i++)
{
if(str[i] == ' ')
str[i] = '\0';
}
return str;
}
int main()
{
string str = "take u forward";
cout <<"String after removing the vowels \n" <<RemoveVowels(str) << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Ci8vIEZ1bmN0aW9uIHRvIHJlbW92ZSB2b3dlbHMgZnJvbSBhIHN0cmluZwpzdHJpbmcgUmVtb3ZlVm93ZWxzKHN0cmluZyBzdHIpCnsKICBmb3IgKGludCBpID0gMDsgaSA8IHN0ci5sZW5ndGgoKTsgaSsrKQogIHsKICAgICAgaWYoc3RyW2ldID09ICcgJykKICAgICAgICAgc3RyW2ldID0gJ1wwJzsKICAKICB9CiAgcmV0dXJuIHN0cjsKfQppbnQgbWFpbigpCnsKICBzdHJpbmcgc3RyID0gInRha2UgdSBmb3J3YXJkIjsKICBjb3V0IDw8IlN0cmluZyBhZnRlciByZW1vdmluZyB0aGUgdm93ZWxzIFxuIiA8PFJlbW92ZVZvd2VscyhzdHIpIDw8IGVuZGw7CiAgcmV0dXJuIDA7Cn0=