cin<<a;
lets say the user enters 'i'
if i have a variable i,i want its variable to be displayed
or some arbitary "Invalid output" message,
any way of doin this,instead of using n case statements in switch????
Is there a way for direct redirection?