#define bad 0 #define good 1 main() { bool pc=good; pc = usepc(); while(true) { if (pc) pc=usepc(); else buypc(),pc=good; } }