General Chat

C Programming Help Request Hey guys, I am having issues with my programming assignment. I am supposed to write a program that prompts the user for a phrase and displays the Krunched version of the phrase (all a, e, i, o, and u removed) as well as the count of each of the vowels a, e, i, o, u removed. This is C++ by the way. My problem is how do I make sure that the phrase will get updated and be used subsequently throughout the loop when it iterates through every character. // Libraries needed #include <iostream> // for cin/cout #include <string> // for string data type #include <iomanip> //for string i/o manipulation using namespace std; int main() { cout << "---a--e-i--o--u--a--e--i--o--u---/n" " Wil