// Pig Latin #include #include using namespace std; int main() { string word, pigword, pre; cout<<"Enter a word to translate to Pig Latin."<>word; for(int x=0; x <= 2; x++) switch(word[x]) { case'a':case'e':case'i':case'o':case'u': if(x==1) { pre[0]=word[0]; } if(x==2) { pre[0]=word[0]; pre[1]=word[1]; } if(x==3) { pre[0]=word[0]; pre[1]=word[1]; pre[2]=word[2]; } cout<