Something
public text v1 · immutableint main(int argc, char **argv){
/* variable declaration */
int counter = 0;
double value = 0.0;
double total = 0.0;
double average = 0.0;
while (counter <= 10){
printf("please enter value %d: ", counter);
scanf("%lf", &value);
total += value;
printf("please enter otherthing %d: ", counter);
scanf("%lf", &value);
//do your thing here
counter++;
} /* test */