The program reads characters from input using a while loop. Write an expression that executes the while loop until chara
Posted: Fri Jul 08, 2022 6:35 am
The program reads characters from input using a while loop. Write an expression that executes the while loop until character 'e' is read. Ex: If input is b QFC e, then the output is: User entered b User entered Q User entered F User entered C Exit 1 #include <iostream> 2 using namespace std; 3 4 int main() { 5 6 7 8 9 10 11 12 13 14 15 char value; cinĀ» value: white Your code goes here ( cout << "User entered << value << endl; cin>> value; ) cout <"Exit" << endl; D-D-