simply u can use getchar or u can use
[code]
#include <iostream.h>

int main(){
//..... your stuff


ch a;
cin>>ai>> endl;
return ();
}