(Debug) The following program displays the message Hello there! regardless of the letter input. Determine where the error is.
Program:
#includeusing namespace std;int main(){char letter;cout << “Enter a letter: ”;cin >> letter;if (letter = 'm')cout << “Hello there!\n”;return 0;}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.