1234567891011121314151617181920212223242526272829303132
#include <iostream> using namespace std; int main() { char n1 = 254, A = 65, B = 66, C = 67, a = 0; cout << "Enter a number from 1-3: "; cin >> a; if (a == 1) { n1 = 'A'; } if (a == 2) { n1 = 'B'; } if (a == 3) { n1 = 'C'; } cout << n1; }
a