/media/sda-magnetic/david/Dokumente-16-2024-08-01/informatikUmathematik/excerpt20240906before/progs2sources20240801/fsmprogs/quine8.c


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


int main (void) {
    int x0, x1, x2;
    time_t t;
    int i;

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

    for (i = 0, x2 = 0;  x2 <= 1;  x2++) {
        for (x1 = 0;  x1 <= 1;  x1++) {
            for (x0 = 0;  x0 <= 1;  x0++, i++) {
                    printf( "%2i %i %i %i    %d\n", i, x2, x1, x0, rand () %2);
            }
        }
    }
}