#include <stdio.h> int main() { int a[10]; int b, s; for (b=0; b<10; b++) { scanf ("%d ", &a[b]); } double average; for (b=0; b<9; b++) { s=s+a[b]; } average=s/10.0; printf ("%lf", average); } ```