#include #include void main(void) { char c; c = 'a'; while(c != 'q') { c = getch(); cout << c; } }