76 293
Assignments Done
Successfully Done
In May 2019

Answer to Question #25058 in C++ for red rose

Question #25058
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.”
Expert's answer
#include <iostream>
using namespace std;

int main() {
char x;
cin >> x;
if (x=='m' || x=='M')
cout << "The item is military
return 0;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions