#include int main () { char answer = ' '; while ((answer != 'q') && (answer != 'Q')) { /* Rerun program */ printf ("Answer q to quit: "); scanf ("%c", &answer); /* Uncomment the following if you actually want to run this program */ /* getchar () */ } }