#include<fstream>
#include<iostream>
using namespace std;
int main()
{
char c;
ifstream input ;
input.open("text2.txt",ios::in);
while(input.get(c))
{
if(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u'){
cout << " " ;
}
else{
cout << c ;
}
}
return 0;
}
#include<iostream>
using namespace std;
int main()
{
char c;
ifstream input ;
input.open("text2.txt",ios::in);
while(input.get(c))
{
if(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u'){
cout << " " ;
}
else{
cout << c ;
}
}
return 0;
}
Comments
Post a Comment