I have an array that let user to type in phrases which swap the letters into numbers
for example if user type 'AC350'
the array "num" will store:
num = A
num = C
num = 3
but the problem is... if i want to convert letters to numbers (e.g. A as 10, C as 12)
what i should write into my program???
cout << "How many digits are there total?\n";
cin >> digit;
cout << "please input all digits.\n";
cin >> num;
Thanks for advance!