#include <iostream> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char** argv) { char n; char score; cin>>n; switch(n){ case 'a':score=n-32;break; case 'b':score=n-32;break; case 'c':score=n-32;break; case 'd':score=n-32;break; case 'e':score=n-32;break; case 'i':break; default:score=32;break; } cout<<score<<endl; system("pause"); return 0; }