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

int main() 
{
    int table [10];
    int totale=0;
    int moyenne=0;
    int const qte=10;
    srand ((unsigned int )time(NULL))
    for (int i=0;<10;i++)
    {
        table [i]=rand ()%21;
        totale=totale + table [i];
    }
    moyenne=totale/qte;
    printf ("La moyenne est:%d", moyenne);
return0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: