Re: Quine Mc Cluskey and Automat

#include <stdio.h>
#include <time.h>
#include <stdlib.h>

#define and \&amp;\&amp;
#define or ||
#define not !

int main (void) {
        int x, z2, z1, z0;
        time_t t;
        int i;

        srand((unsigned) time(\&amp;t));

        printf ("tb a xtb a yn");
            for (i = 0, z1 = 0;  z1 <= 1;  z1++) {
                for (z0 = 0;  z0 <= 1;  z0++) {
                    for (x = 0;  x <= 1;  x++, i++) {
                        printf ("%it%i %i %it%i %i %in", i, z1, z0, x, rand () % 2, rand () % 2, rand () % 2);
                    }
                }
            }

return 0;
}