#include <stdio.h>
int main() {
int num1;
int n=0;
int a;
int sum=0;
scanf("%d", &num1);//몇개의 정수를 입력 할것 인지.
while(n<num1){
scanf("%d", &a);
sum=sum+a;
n++;
}
printf("%f",(float)sum/num1);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: