abC primeri - primeri/loto-test.c

loto-test.c
1
2
3
4
5
6
7
8
9
#include <stdio.h>
#include <stdlib.h>

main() {
 int i;
 for (i=1; i<=7; i++) {
    printf("%d ", (rand() % 39 + 1));
 }
}

    Nazaj...