- #include <stdio.h>
- #include <math.h>
- int main (void) {
- double m[51];
- double x=-20;
- double min, vsum;
- for (int i=0; i<51; ++i) {
- /*
- printf("%.6f ", x);
- printf("%.6f\n", m[i]);
- */
- x += 0.8;
- }
- min = m[0];
- vsum = 0;
- for (int i=0; i<51; ++i) {
- if (m[i]<min) min = m[i];
- if (i%2 != 0)
- vsum += m[i];
- }
- vsum = vsum/25;
- return(0);
- }