#R:allegra:-202800:whuxle:23200002:000:223 whuxle!npl Dec 3 15:34:00 1983 While mark's formulation is by far the clearest so far, why not try this? for( goodans = 0; !goodans ; printf("Try again\n") { printf("what's 2 plus 2? "); ....... /* code which check results and sets goodans */ }