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

int main(void)
{
    int num;
    srand((unsigned)time(NULL));
    num = rand() % 11;
    printf("num = %d", num);
    return 0;
}