#include int main(void) { char s[9]; int i; for (i = 0; s[0] != 'u'; i++) { printf("%03d", i); fflush(0); scanf("%s", s); } return 0; }