Modify Program to accept both lower and uppercase letters as codes. For
example, if a user enters an m or an M, the program should display the message “The
item is military grade.”
1
Expert's answer
2013-02-26T09:24:39-0500
#include <iostream> using namespace std;
int main() { char x; cin >> x; if (x=='m' || x=='M') cout << "The item is military grade"; return 0; }
Comments
Leave a comment