Menu

[solved] – Question 99423

Write a switch statement that checks origLetter. If ‘a’ or ‘A’, print “Alpha”. If ‘b’ or ‘B’, print “Beta”. For any other character, print “Unknown”. Use fall-through as appropriate. End with newline.
#include <iostream>
using namespace std;

int main() {
char origLetter;

cin >> origLetter;

/* Your solution goes here */

return 0;
}

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *