#include< stdio.h> #include< stdlib.h입니다> int 메인() { int 합계, 길이 = 10; 중간 플로트; int 탭[10]={1,2,3,4,5,6,7,8,9,10}; 정수 i; 합계=0; for (i=0 ; i< length ; i++) { 합계 += 탭[i]; } 평균 = (부동)합계 / (부동소수점)길이; printf("%f\n",평균); 반환 0; } |
Please disable your ad blocker and refresh the window to use this website.