#include #include #include using namespace std; int main(int argc, char *argv[]) { char ch; ch=getch(); while(ch!='n'|| ch!='N') { switch(ch) { case'a': case'A' : cout <<"*"; break; case'w': case'W' : cout <<"$"; break; } ch=getch(); } system("PAUSE"); return EXIT_SUCCESS; }