I'm designing a program where the user types in 1 letter commands to do stuff.
But I'm having trouble getting the program to detect what letter is inputted, so that if it is H it displays a helpmessage, or if its Q it quits.Code:#include <iostream.h> #include <stdlib.h> int main() { char command; cout << "Enter command"; cin >> command;